home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / os2 / e33min.zip / emacs / 19.33 / data / NEWS < prev    next >
Lisp/Scheme  |  1996-08-07  |  273KB  |  6,483 lines

  1. GNU Emacs NEWS -- history of user-visible changes.  1 Aug 1996
  2. Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
  3. See the end for copying conditions.
  4.  
  5. Please send Emacs bug reports to bug-gnu-emacs@prep.ai.mit.edu.
  6. For older news, see the file ONEWS.
  7.  
  8. * Changes in Emacs 19.33.
  9.  
  10. ** Bibtex mode no longer turns on Auto Fill automatically.  (No major
  11. mode should do that--it is the user's choice.)
  12.  
  13. ** The variable normal-auto-fill-function specifies the function to
  14. use for auto-fill-functyion, if and when Auto Fill is turned on.
  15. Major modes can set this locally to alter how Auto Fill works.
  16.  
  17. * Editing Changes in Emacs 19.32
  18.  
  19. ** C-x f with no argument now signals an error.
  20. To set the fill column at the current column, use C-u C-x f.
  21.  
  22. ** Expanding dynamic abbrevs with M-/ is now smarter about case
  23. conversion.  If you type the abbreviation with mixed case, and it
  24. matches the beginning of the expansion including case, then the
  25. expansion is copied verbatim.  Using SPC M-/ to copy an additional
  26. word always copies it verbatim except when the previous copied word is
  27. all caps.
  28.  
  29. ** On a non-windowing terminal, which can display only one Emacs frame
  30. at a time, creating a new frame with C-x 5 2 also selects that frame.
  31.  
  32. When using a display that can show multiple frames at once, C-x 5 2
  33. does make the frame visible, but does not select it.  This is the same
  34. as in previous Emacs versions.
  35.  
  36. ** You can use C-x 5 2 to create multiple frames on MSDOS, just as on a
  37. non-X terminal on Unix.  Of course, only one frame is visible at any
  38. time, since your terminal doesn't have the ability to display multiple
  39. frames.
  40.  
  41. ** On Windows, set win32-pass-alt-to-system to a non-nil value
  42. if you would like tapping the Alt key to invoke the Windows menu.
  43. This feature is not enabled by default; since the Alt key is also the
  44. Meta key, it is too easy and painful to activate this feature by
  45. accident.
  46.  
  47. ** The command apply-macro-to-region-lines repeats the last defined
  48. keyboard macro once for each complete line within the current region.
  49. It does this line by line, by moving point to the beginning of that
  50. line and then executing the macro.
  51.  
  52. This command is not new, but was never documented before.
  53.  
  54. ** You can now use Mouse-1 to place the region around a string constant
  55. (something surrounded by doublequote characters or other delimiter
  56. characters of like syntax) by double-clicking on one of delimiting
  57. characters.
  58.  
  59. ** Font Lock mode
  60.  
  61. *** Font Lock support modes
  62.  
  63. Font Lock can be configured to use Fast Lock mode and Lazy Lock mode (see
  64. below) in a flexible way.  Rather than adding the appropriate function to the
  65. hook font-lock-mode-hook, you can use the new variable font-lock-support-mode
  66. to control which modes have Fast Lock mode or Lazy Lock mode turned on when
  67. Font Lock mode is enabled.
  68.  
  69. For example, to use Fast Lock mode when Font Lock mode is turned on, put:
  70.  
  71.  (setq font-lock-support-mode 'fast-lock-mode)
  72.  
  73. in your ~/.emacs.
  74.  
  75. *** lazy-lock
  76.  
  77. The lazy-lock package speeds up Font Lock mode by making fontification occur
  78. only when necessary, such as when a previously unfontified part of the buffer
  79. becomes visible in a window.  When you create a buffer with Font Lock mode and
  80. Lazy Lock mode turned on, the buffer is not fontified.  When certain events
  81. occur (such as scrolling), Lazy Lock makes sure that the visible parts of the
  82. buffer are fontified.  Lazy Lock also defers on-the-fly fontification until
  83. Emacs has been idle for a given amount of time.
  84.  
  85. To use this package, put in your ~/.emacs:
  86.  
  87.  (setq font-lock-support-mode 'lazy-lock-mode)
  88.  
  89. To control the package behaviour, see the documentation for `lazy-lock-mode'.
  90.  
  91. ** Changes in BibTeX mode.
  92.  
  93. *** For all entries allow spaces and tabs between opening brace or
  94. paren and key.
  95.  
  96. *** Non-escaped double-quoted characters (as in `Sch"of') are now
  97. supported.
  98.  
  99. ** Gnus changes.
  100.  
  101. Gnus, the Emacs newsreader, has undergone further rewriting.  Many new
  102. commands and variables have been added.  There should be no
  103. significant incompatibilities between this Gnus version and the
  104. previously released version, except in the message composition area.
  105.  
  106. Below is a list of the more user-visible changes.  Coding changes
  107. between Gnus 5.1 and 5.2 are more extensive.
  108.  
  109. *** A new message composition mode is used.  All old customization 
  110. variables for mail-mode, rnews-reply-mode and gnus-msg are now
  111. obsolete.
  112.  
  113. *** Gnus is now able to generate "sparse" threads -- threads where
  114. missing articles are represented by empty nodes.
  115.  
  116.     (setq gnus-build-sparse-threads 'some)
  117.  
  118. *** Outgoing articles are stored on a special archive server.
  119.  
  120.     To disable this:  (setq gnus-message-archive-group nil)
  121.  
  122. *** Partial thread regeneration now happens when articles are
  123. referred. 
  124.  
  125. *** Gnus can make use of GroupLens predictions:
  126.  
  127.     (setq gnus-use-grouplens t)
  128.  
  129. *** A trn-line tree buffer can be displayed.
  130.  
  131.     (setq gnus-use-trees t)
  132.  
  133. *** An nn-like pick-and-read minor mode is available for the summary
  134. buffers. 
  135.  
  136.     (add-hook 'gnus-summary-mode-hook 'gnus-pick-mode)
  137.  
  138. *** In binary groups you can use a special binary minor mode:
  139.  
  140.     `M-x gnus-binary-mode'
  141.  
  142. *** Groups can be grouped in a folding topic hierarchy.
  143.  
  144.     (add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
  145.  
  146. *** Gnus can re-send and bounce mail.
  147.  
  148.     Use the `S D r' and `S D b'.
  149.  
  150. *** Groups can now have a score, and bubbling based on entry frequency
  151. is possible.
  152.  
  153.     (add-hook 'gnus-summary-exit-hook 'gnus-summary-bubble-group)
  154.  
  155. *** Groups can be process-marked, and commands can be performed on
  156. groups of groups.
  157.  
  158. *** Caching is possible in virtual groups.
  159.  
  160. *** nndoc now understands all kinds of digests, mail boxes, rnews news
  161. batches, ClariNet briefs collections, and just about everything else. 
  162.  
  163. *** Gnus has a new backend (nnsoup) to create/read SOUP packets.
  164.  
  165. *** The Gnus cache is much faster.
  166.  
  167. *** Groups can be sorted according to many criteria.
  168.  
  169.     For instance: (setq gnus-group-sort-function 'gnus-group-sort-by-rank)
  170.  
  171. *** New group parameters have been introduced to set list-address and
  172. expiry times.
  173.  
  174. *** All formatting specs allow specifying faces to be used.
  175.  
  176. *** There are several more commands for setting/removing/acting on
  177. process marked articles on the `M P' submap.
  178.  
  179. *** The summary buffer can be limited to show parts of the available
  180. articles based on a wide range of criteria.  These commands have been
  181. bound to keys on the `/' submap.
  182.  
  183. *** Articles can be made persistent -- as an alternative to saving
  184. articles with the `*' command.
  185.  
  186. *** All functions for hiding article elements are now toggles.
  187.  
  188. *** Article headers can be buttonized.
  189.  
  190.     (add-hook 'gnus-article-display-hook 'gnus-article-add-buttons-to-head)
  191.  
  192. *** All mail backends support fetching articles by Message-ID.
  193.  
  194. *** Duplicate mail can now be treated properly.  See the 
  195. `nnmail-treat-duplicates' variable.
  196.  
  197. *** All summary mode commands are available directly from the article
  198. buffer. 
  199.  
  200. *** Frames can be part of `gnus-buffer-configuration'.
  201.  
  202. *** Mail can be re-scanned by a daemonic process.
  203.  
  204. *** Gnus can make use of NoCeM files to filter spam.
  205.  
  206.     (setq gnus-use-nocem t)
  207.  
  208. *** Groups can be made permanently visible. 
  209.  
  210.     (setq gnus-permanently-visible-groups "^nnml:")
  211.  
  212. *** Many new hooks have been introduced to make customizing easier. 
  213.  
  214. *** Gnus respects the Mail-Copies-To header.
  215.  
  216. *** Threads can be gathered by looking at the References header. 
  217.  
  218.     (setq gnus-summary-thread-gathering-function 
  219.           'gnus-gather-threads-by-references)
  220.  
  221. *** Read articles can be stored in a special backlog buffer to avoid
  222. refetching.  
  223.  
  224.     (setq gnus-keep-backlog 50)
  225.  
  226. *** A clean copy of the current article is always stored in a separate
  227. buffer to allow easier treatment.
  228.  
  229. *** Gnus can suggest where to save articles.  See `gnus-split-methods'.
  230.  
  231. *** Gnus doesn't have to do as much prompting when saving.
  232.  
  233.     (setq gnus-prompt-before-saving t)
  234.  
  235. *** gnus-uu can view decoded files asynchronously while fetching
  236. articles. 
  237.  
  238.     (setq gnus-uu-grabbed-file-functions 'gnus-uu-grab-view)
  239.  
  240. *** Filling in the article buffer now works properly on cited text. 
  241.  
  242. *** Hiding cited text adds buttons to toggle hiding, and how much
  243. cited text to hide is now customizable.
  244.  
  245.     (setq gnus-cited-lines-visible 2)
  246.  
  247. *** Boring headers can be hidden.
  248.  
  249.     (add-hook 'gnus-article-display-hook 'gnus-article-hide-boring-headers)
  250.  
  251. *** Default scoring values can now be set from the menu bar.
  252.  
  253. *** Further syntax checking of outgoing articles have been added.
  254.  
  255. The Gnus manual has been expanded.  It explains all these new features
  256. in greater detail.
  257.  
  258. * Lisp Changes in Emacs 19.32
  259.  
  260. ** The function set-visited-file-name now accepts an optional
  261. second argument NO-QUERY.  If it is non-nil, then the user is not
  262. asked for confirmation in the case where the specified file already
  263. exists.
  264.  
  265. ** The variable print-length applies to printing vectors and bitvectors,
  266. as well as lists.
  267.  
  268. ** The new function keymap-parent returns the parent keymap
  269. of a given keymap.
  270.  
  271. ** The new function set-keymap-parent specifies a new parent for a
  272. given keymap.  The arguments are KEYMAP and PARENT.  PARENT must be a
  273. keymap or nil.
  274.  
  275. ** Sometimes menu keymaps use a command name, a symbol, which is really
  276. an automatically generated alias for some other command, the "real"
  277. name.  In such a case, you should give that alias symbol a non-nil
  278. menu-alias property.  That property tells the menu system to look for
  279. equivalent keys for the real name instead of equivalent keys for the
  280. alias.
  281.  
  282. * Editing Changes in Emacs 19.31
  283.  
  284. ** Freedom of the press restricted in the United States.
  285.  
  286. Emacs has been censored in accord with the Communications Decency Act.
  287. This includes removing some features of the doctor program.  That law
  288. was described by its supporters as a ban on pornography, but it bans
  289. far more than that.  The Emacs distribution has never contained any
  290. pornography, but parts of it were nonetheless prohibited.
  291.  
  292. For information on US government censorship of the Internet, and what
  293. you can do to bring back freedom of the press, see the web site
  294. `http://www.vtw.org/'.
  295.  
  296. ** A note about C mode indentation customization.
  297.  
  298. The old (Emacs 19.29) ways of specifying a C indentation style
  299. do not normally work in the new implementation of C mode.
  300. It has its own methods of customizing indentation, which are
  301. much more powerful than the old C mode.  See the Editing Programs
  302. chapter of the manual for details.
  303.  
  304. However, you can load the library cc-compat to make the old
  305. customization variables take effect.
  306.  
  307. ** Marking with the mouse.
  308.  
  309. When you mark a region with the mouse, the region now remains
  310. highlighted until the next input event, regardless of whether you are
  311. using M-x transient-mark-mode.
  312.  
  313. ** Improved Windows NT/95 support.
  314.  
  315. *** Emacs now supports scroll bars on Windows NT and Windows 95.
  316.  
  317. *** Emacs now supports subprocesses on Windows 95.  (Subprocesses used
  318. to work on NT only and not on 95.)
  319.  
  320. *** There are difficulties with subprocesses, though, due to problems
  321. in Windows, beyond the control of Emacs.  They work fine as long as
  322. you run Windows applications.  The problems arise when you run a DOS
  323. application in a subprocesses.  Since current shells run as DOS
  324. applications, these problems are significant.
  325.  
  326. If you run a DOS application in a subprocess, then the application is
  327. likely to busy-wait, which means that your machine will be 100% busy.
  328. However, if you don't mind the temporary heavy load, the subprocess
  329. will work ok as long as you tell it to terminate before you start any
  330. other DOS application as a subprocess.
  331.  
  332. Emacs is unable to terminate or interrupt a DOS subprocess.
  333. You have to do this by providing input directly to the subprocess.
  334.  
  335. If you run two DOS applications at the same time in two separate
  336. subprocesses, even if one of them is asynchronous, you will probably
  337. have to reboot your machine--until then, it will remain 100% busy.
  338. Windows simply does not cope when one Windows process tries to run two
  339. separate DOS subprocesses.  Typing CTL-ALT-DEL and then choosing
  340. Shutdown seems to work although it may take a few minutes.
  341.  
  342. ** M-x resize-minibuffer-mode.
  343.  
  344. This command, not previously mentioned in NEWS, toggles a mode in
  345. which the minibuffer window expands to show as many lines as the
  346. minibuffer contains.
  347.  
  348. ** `title' frame parameter and resource.
  349.  
  350. The `title' X resource now specifies just the frame title, nothing else.
  351. It does not affect the name used for looking up other X resources.
  352. It works by setting the new `title' frame paramaeter, which likewise
  353. affects just the displayed title of the frame.
  354.  
  355. The `name' parameter continues to do what it used to do:
  356. it specifies the frame name for looking up X resources,
  357. and also serves as the default for the displayed title
  358. when the `title' parameter is unspecified or nil.
  359.  
  360. ** Emacs now uses the X toolkit by default, if you have a new
  361. enough version of X installed (X11R5 or newer).
  362.  
  363. ** When you compile Emacs with the Motif widget set, Motif handles the
  364. F10 key by activating the menu bar.  To avoid confusion, the usual
  365. Emacs binding of F10 is replaced with a no-op when using Motif.
  366.  
  367. If you want to be able to use F10 in Emacs, you can rebind the Motif
  368. menubar to some other key which you don't use.  To do so, add
  369. something like this to your X resources file.  This example rebinds
  370. the Motif menu bar activation key to S-F12:
  371.  
  372.    Emacs*defaultVirtualBindings:  osfMenuBar : Shift<Key>F12
  373.  
  374. ** In overwrite mode, DEL now inserts spaces in most cases
  375. to replace the characters it "deletes".
  376.  
  377. ** The Rmail summary now shows the number of lines in each message.
  378.  
  379. ** Rmail has a new command M-x unforward-rmail-message, which extracts
  380. a forwarded message from the message that forwarded it.  To use it,
  381. select a message which contains a forwarded message and then type the command.
  382. It inserts the forwarded message as a separate Rmail message
  383. immediately after the selected one.
  384.  
  385. This command also undoes the textual modifications that are standardly
  386. made, as part of forwarding, by Rmail and other mail reader programs.
  387.  
  388. ** Turning off saving of .saves-... files in your home directory.
  389.  
  390. Each Emacs session writes a file named .saves-... in your home
  391. directory to record which files M-x recover-session should recover.
  392. If you exit Emacs normally with C-x C-c, it deletes that file.  If
  393. Emacs or the operating system crashes, the file remains for M-x
  394. recover-session.
  395.  
  396. You can turn off the writing of these files by setting
  397. auto-save-list-file-name to nil.  If you do this, M-x recover-session
  398. will not work.
  399.  
  400. Some previous Emacs versions failed to delete these files even on
  401. normal exit.  This is fixed now.  If you are thinking of turning off
  402. this feature because of past experiences with versions that had this
  403. bug, it would make sense to check whether you still want to do so
  404. now that the bug is fixed.
  405.  
  406. ** Changes to Version Control (VC)
  407.  
  408. There is a new variable, vc-follow-symlinks.  It indicates what to do
  409. when you visit a link to a file that is under version control.
  410. Editing the file through the link bypasses the version control system,
  411. which is dangerous and probably not what you want.
  412.  
  413. If this variable is t, VC follows the link and visits the real file,
  414. telling you about it in the echo area.  If it is `ask' (the default),
  415. VC asks for confirmation whether it should follow the link.  If nil,
  416. the link is visited and a warning displayed.
  417.  
  418. ** iso-acc.el now lets you specify a choice of language.
  419. Languages include "latin-1" (the default) and "latin-2" (which
  420. is designed for entering ISO Latin-2 characters).
  421.  
  422. There are also choices for specific human languages such as french and
  423. portuguese.  These are subsets of Latin-1, which differ in that they
  424. enable only the accent characters needed for particular language.
  425. The other accent characters, not needed for the chosen language,
  426. remain normal.
  427.  
  428. ** Posting articles and sending mail now has M-TAB completion on various
  429. header fields (Newsgroups, To, CC, ...).
  430.  
  431. Completion in the Newsgroups header depends on the list of groups
  432. known to your news reader.  Completion in the Followup-To header
  433. offers those groups which are in the Newsgroups header, since
  434. Followup-To usually just holds one of those.
  435.  
  436. Completion in fields that hold mail addresses works based on the list
  437. of local users plus your aliases.  Additionally, if your site provides
  438. a mail directory or a specific host to use for any unrecognized user
  439. name, you can arrange to query that host for completion also.  (See the
  440. documentation of variables `mail-directory-process' and
  441. `mail-directory-stream'.)
  442.  
  443. ** A greatly extended sgml-mode offers new features such as (to be configured)
  444. skeletons with completing read for tags and attributes, typing named
  445. characters including optionally all 8bit characters, making tags invisible
  446. with optional alternate display text, skipping and deleting tag(pair)s.
  447.  
  448. Note: since Emacs' syntax feature cannot limit the special meaning of ', " and
  449. - to inside <>, for some texts the result, especially of font locking, may be
  450. wrong (see `sgml-specials' if you get wrong results).
  451.  
  452. The derived html-mode configures this with tags and attributes more or
  453. less HTML3ish.  It also offers optional quick keys like C-c 1 for
  454. headline or C-c u for unordered list (see `html-quick-keys').  Edit /
  455. Text Properties / Face or M-g combinations create tags as applicable.
  456. Outline minor mode is supported and level 1 font-locking tries to
  457. fontify tag contents (which only works when they fit on one line, due
  458. to a limitation in font-lock).
  459.  
  460. External viewing via browse-url can occur automatically upon saving.
  461.  
  462. ** M-x imenu-add-to-menubar now adds to the menu bar for the current
  463. buffer only.  If you want to put an Imenu item in the menu bar for all
  464. buffers that use a particular major mode, use the mode hook, as in
  465. this example:
  466.  
  467.     (add-hook 'emacs-lisp-mode-hook
  468.           '(lambda () (imenu-add-to-menubar "Index")))
  469.  
  470. ** Changes in BibTeX mode.
  471.  
  472. *** Field names may now contain digits, hyphens, and underscores.
  473.  
  474. *** Font Lock mode is now supported.
  475.  
  476. *** bibtex-make-optional-field is no longer interactive.
  477.  
  478. *** If bibtex-maintain-sorted-entries is non-nil, inserting new
  479. entries is now done with a faster algorithm.  However, inserting
  480. will fail in this case if the buffer contains invalid entries or
  481. isn't in sorted order, so you should finish each entry with C-c C-c
  482. (bibtex-close-entry) after you have inserted or modified it.
  483. The default value of bibtex-maintain-sorted-entries is nil.
  484.  
  485. *** Function `show-all' is no longer bound to a key, since C-u C-c C-q
  486. does the same job.
  487.  
  488. *** Entries with quotes inside quote-delimited fields (as `author =
  489. "Stefan Sch{\"o}f"') are now supported.
  490.  
  491. *** Case in field names doesn't matter anymore when searching for help
  492. text.
  493.  
  494. ** Font Lock mode
  495.  
  496. *** Global Font Lock mode
  497.  
  498. Font Lock mode can be turned on globally, in buffers that support it, by the
  499. new command global-font-lock-mode.  You can use the new variable
  500. font-lock-global-modes to control which modes have Font Lock mode automagically
  501. turned on.  By default, this variable is set so that Font Lock mode is turned
  502. on globally where the buffer mode supports it.
  503.  
  504. For example, to automagically turn on Font Lock mode where supported, put:
  505.  
  506.  (global-font-lock-mode t)
  507.  
  508. in your ~/.emacs.
  509.  
  510. *** Local Refontification
  511.  
  512. In Font Lock mode, editing a line automatically refontifies that line only.
  513. However, if your change alters the syntactic context for following lines,
  514. those lines remain incorrectly fontified.  To refontify them, use the new
  515. command M-g M-g (font-lock-fontify-block).
  516.  
  517. In certain major modes, M-g M-g refontifies the entire current function.
  518. (The variable font-lock-mark-block-function controls how to find the
  519. current function.)  In other major modes, M-g M-g refontifies 16 lines
  520. above and below point.
  521.  
  522. With a prefix argument N, M-g M-g refontifies N lines above and below point.
  523.  
  524. ** Follow mode
  525.  
  526. Follow mode is a new minor mode combining windows showing the same
  527. buffer into one tall "virtual window".  The windows are typically two
  528. side-by-side windows.  Follow mode makes them scroll together as if
  529. they were a unit.  To use it, go to a frame with just one window,
  530. split it into two side-by-side windows using C-x 3, and then type M-x
  531. follow-mode.
  532.  
  533. M-x follow-mode turns off Follow mode if it is already enabled.
  534.  
  535. To display two side-by-side windows and activate Follow mode, use the
  536. command M-x follow-delete-other-windows-and-split.
  537.  
  538. ** hide-show changes.
  539.  
  540. The hooks hs-hide-hooks and hs-show-hooks have been renamed
  541. to hs-hide-hook and hs-show-hook, to follow the convention for
  542. normal hooks.
  543.  
  544. ** Simula mode now has a menu containing the most important commands.
  545. The new command simula-indent-exp is bound to C-M-q.
  546.  
  547. ** etags can now handle programs written in Erlang.  Files are
  548. recognised by the extensions .erl and .hrl.  The tagged lines are
  549. those that begin a function, record, or macro.
  550.  
  551. ** MSDOS Changes
  552.  
  553. *** It works now to compile Emacs with the version 2 of DJGPP.
  554. Compilation with DJGPP version 1 also still works.
  555.  
  556. *** The documentation of DOS-specific aspects of Emacs was rewritten
  557. and expanded; see the ``MS-DOS'' node in the on-line docs.
  558.  
  559. *** Emacs now uses ~ for backup file names, not .bak.
  560.  
  561. *** You can simulate mouse-3 on two-button mice by simultaneously
  562. pressing both mouse buttons.
  563.  
  564. *** A number of packages and commands which previously failed or had
  565. restricted functionality on MS-DOS, now work.  The most important ones
  566. are: 
  567.  
  568. **** Printing (both with `M-x lpr-buffer' and with `ps-print' package)
  569. now works.
  570.  
  571. **** `Ediff' works (in a single-frame mode).
  572.  
  573. **** `M-x display-time' can be used on MS-DOS (due to the new
  574. implementation of Emacs timers, see below).
  575.  
  576. **** `Dired' supports Unix-style shell wildcards.
  577.  
  578. **** The `c-macro-expand' command now works as on other platforms.
  579.  
  580. **** `M-x recover-session' works.
  581.  
  582. **** `M-x list-colors-display' displays all the available colors.
  583.  
  584. **** The `TPU-EDT' package works.
  585.  
  586. * Lisp changes in Emacs 19.31.
  587.  
  588. ** The function using-unix-filesystems on Windows NT and Windows 95
  589. tells Emacs to read and write files assuming that they reside on a
  590. remote Unix filesystem.  No CR/LF translation is done on any files in
  591. this case.  Invoking using-unix-filesystems with t actives this
  592. behavior, and invoking it with any other value deactivates it.
  593.  
  594. ** Change in system-type and system-configuration values.
  595.  
  596. The value of system-type on a Linux-based GNU system is now `lignux',
  597. not `linux'.  This means that some programs which use `system-type'
  598. need to be changed.  The value of `system-configuration' will also
  599. be different.
  600.  
  601. It is generally recommended to use `system-configuration' rather
  602. than `system-type'.
  603.  
  604. See the file LINUX-GNU in this directory for more about this.
  605.  
  606. ** The functions shell-command and dired-call-process
  607. now run file name handlers for default-directory, if it has them.
  608.  
  609. ** Undoing the deletion of text now restores the positions of markers
  610. that pointed into or next to the deleted text.
  611.  
  612. ** Timers created with run-at-time now work internally to Emacs, and
  613. no longer use a separate process.  Therefore, they now work more
  614. reliably and can be used for shorter time delays.
  615.  
  616. The new function run-with-timer is a convenient way to set up a timer
  617. to run a specified amount of time after the present.  A call looks
  618. like this:
  619.  
  620.   (run-with-timer SECS REPEAT FUNCTION ARGS...)
  621.  
  622. SECS says how many seconds should elapse before the timer happens.
  623. It may be an integer or a floating point number.  When the timer
  624. becomes ripe, the action is to call FUNCTION with arguments ARGS.
  625.  
  626. REPEAT gives the interval for repeating the timer (measured in
  627. seconds).  It may be an integer or a floating point number.  nil or 0
  628. means don't repeat at all--call FUNCTION just once.
  629.  
  630. *** with-timeout provides an easy way to do something but give
  631. up if too much time passes.
  632.  
  633.   (with-timeout (SECONDS TIMEOUT-FORMS...) BODY...)
  634.  
  635. This executes BODY, but gives up after SECONDS seconds.
  636. If it gives up, it runs the TIMEOUT-FORMS and returns the value
  637. of the last one of them.  Normally it returns the value of the last
  638. form in BODY.
  639.  
  640. *** You can now arrange to call a function whenever Emacs is idle for
  641. a certain length of time.  To do this, call run-with-idle-timer.  A
  642. call looks like this:
  643.  
  644.   (run-with-idle-timer SECS REPEAT FUNCTION ARGS...)
  645.  
  646. SECS says how many seconds of idleness should elapse before the timer
  647. runs.  It may be an integer or a floating point number.  When the
  648. timer becomes ripe, the action is to call FUNCTION with arguments
  649. ARGS.
  650.  
  651. Emacs becomes idle whenever it finishes executing a keyboard or mouse
  652. command.  It remains idle until it receives another keyboard or mouse
  653. command.
  654.  
  655. REPEAT, if non-nil, means this timer should be activated again each
  656. time Emacs becomes idle and remains idle for SECS seconds The timer
  657. does not repeat if Emacs *remains* idle; it runs at most once after
  658. each time Emacs becomes idle.
  659.  
  660. If REPEAT is nil, the timer runs just once, the first time Emacs is
  661. idle for SECS seconds.
  662.  
  663. *** post-command-idle-hook is now obsolete; you shouldn't use it at
  664. all, because it interferes with the idle timer mechanism.  If your
  665. programs use post-command-idle-hook, convert them to use idle timers
  666. instead.
  667.  
  668. *** y-or-n-p-with-timeout lets you ask a question but give up if
  669. there is no answer within a certain time.
  670.  
  671.   (y-or-n-p-with-timeout PROMPT SECONDS DEFAULT-VALUE)
  672.  
  673. asks the question PROMPT (just like y-or-n-p).  If the user answers
  674. within SECONDS seconds, it returns the answer that the user gave.
  675. Otherwise it gives up after SECONDS seconds, and returns DEFAULT-VALUE.
  676.  
  677. ** Minor change to `encode-time': you can now pass more than seven
  678. arguments.  If you do that, the first six arguments have the usual
  679. meaning, the last argument is interpreted as the time zone, and the
  680. arguments in between are ignored.
  681.  
  682. This means that it works to use the list returned by `decode-time' as
  683. the list of arguments for `encode-time'.
  684.  
  685. ** The default value of load-path now includes the directory
  686. /usr/local/share/emacs/VERSION/site-lisp In addition to
  687. /usr/local/share/emacs/site-lisp.  You can use this new directory for
  688. site-specific Lisp packages that belong with a particular Emacs
  689. version.
  690.  
  691. It is not unusual for a Lisp package that works well in one Emacs
  692. version to cause trouble in another.  Sometimes packages need updating
  693. for incompatible changes; sometimes they look at internal data that
  694. has changed; sometimes the package has been installed in Emacs itself
  695. and the installed version should be used.  Whatever the reason for the
  696. problem, this new feature makes it easier to solve.
  697.  
  698. ** When your program contains a fixed file name (like .completions or
  699. .abbrev.defs), the file name usually needs to be different on operating
  700. systems with limited file name syntax.
  701.  
  702. Now you can avoid ad-hoc conditionals by using the function
  703. convert-standard-filename to convert the file name to a proper form
  704. for each operating system.  Here is an example of use, from the file
  705. completions.el:
  706.  
  707. (defvar save-completions-file-name
  708.         (convert-standard-filename "~/.completions")
  709.   "*The filename to save completions to.")
  710.  
  711. This sets the variable save-completions-file-name to a value that
  712. depends on the operating system, because the definition of
  713. convert-standard-filename depends on the operating system.  On
  714. Unix-like systems, it returns the specified file name unchanged.  On
  715. MS-DOS, it adapts the name to fit the limitations of that system.
  716.  
  717. ** The interactive spec N now returns the numeric prefix argument
  718. rather than the raw prefix argument.  (It still reads a number using the
  719. minibuffer if there is no prefix argument at all.)
  720.  
  721. ** When a process is deleted, this no longer disconnects the process
  722. marker from its buffer position.
  723.  
  724. ** The variable garbage-collection-messages now controls whether
  725. Emacs displays a message at the beginning and end of garbage collection.
  726. The default is nil, meaning there are no messages.
  727.  
  728. ** The variable debug-ignored-errors specifies certain kinds of errors
  729. that should not enter the debugger.  Its value is a list of error
  730. condition symbols and/or regular expressions.  If the error has any
  731. of the condition symbols listed, or if any of the regular expressions
  732. matches the error message, then that error does not enter the debugger,
  733. regardless of the value of debug-on-error.
  734.  
  735. This variable is initialized to match certain common but uninteresting
  736. errors that happen often during editing.
  737.  
  738. ** The new function error-message-string converts an error datum
  739. into its error message.  The error datum is what condition-case
  740. puts into the variable, to describe the error that happened.
  741.  
  742. ** Anything that changes which buffer appears in a given window
  743. now runs the window-scroll-functions for that window.
  744.  
  745. ** The new function get-buffer-window-list returns a list of windows displaying
  746. a buffer.  The function is called with the buffer (a buffer object or a buffer
  747. name) and two optional arguments specifying the minibuffer windows and frames
  748. to search.  Therefore this function takes optional args like next-window etc.,
  749. and not get-buffer-window.
  750.  
  751. ** buffer-substring now runs the hook buffer-access-fontify-functions,
  752. calling each function with two arguments--the range of the buffer
  753. being accessed.  buffer-substring-no-properties does not call them.
  754.  
  755. If you use this feature, you should set the variable
  756. buffer-access-fontified-property to a non-nil symbol, which is a
  757. property name.  Then, if all the characters in the buffer range have a
  758. non-nil value for that property, the buffer-access-fontify-functions
  759. are not called.  When called, these functions should put a non-nil
  760. property on the text that they fontify, so that they won't get called
  761. over and over for the same text.
  762.  
  763. ** Changes in lisp-mnt.el
  764.  
  765. *** The lisp-mnt package can now recognize file headers that are written
  766. in the formats used by the `what' command and the RCS `ident' command:
  767.  
  768. ;; @(#) HEADER: text
  769. ;; $HEADER: text $
  770.  
  771. in addition to the normal
  772.  
  773. ;; HEADER: text
  774.  
  775. *** The commands lm-verify and lm-synopsis are now interactive.  lm-verify
  776. checks that the library file has proper sections and headers, and
  777. lm-synopsis extracts first line "synopsis'"information.
  778.  
  779. * Editing Changes in Emacs 19.30.
  780.  
  781. ** Be sure to recompile your byte-compiled Emacs Lisp files
  782. if you last compiled them with Emacs 19.28 or earlier.
  783. You can use M-x byte-force-recompile to recompile all the .elc files
  784. in a specified directory.
  785.  
  786. ** Emacs now provides multiple-frame support on Windows NT
  787. and Windows 95.
  788.  
  789. ** M-x column-number-mode toggles a minor mode which displays
  790. the current column number in the mode line.
  791.  
  792. ** Line Number mode is now enabled by default.
  793.  
  794. ** M-x what-line now displays the line number in the accessible
  795. portion of the buffer as well as the line number in the full buffer,
  796. when narrowing is in effect.
  797.  
  798. ** If you type a M-x command that has an equivalent key binding,
  799. the equivalent is shown in the minibuffer before the command executes.
  800. This feature is enabled by default for the sake of beginning users.
  801. You can turn the feature off by setting suggest-key-bindings to nil.
  802.  
  803. ** The menu bar is now visible on text-only terminals.  To choose a
  804. command from the menu bar when you have no mouse, type M-`
  805. (Meta-Backquote) or F10.  To turn off menu bar display,
  806. do (menu-bar-mode -1).
  807.  
  808. ** Whenever you invoke a minibuffer, it appears in the minibuffer
  809. window that the current frame uses.
  810.  
  811. Emacs can only use one minibuffer window at a time.  If you activate
  812. the minibuffer while a minibuffer window is active in some other
  813. frame, the outer minibuffer window disappears while the inner one is
  814. active.
  815.  
  816. ** Echo area messages always appear in the minibuffer window that the
  817. current frame uses.  If a minibuffer is active in some other frame,
  818. the echo area message does not hide it even temporarily.
  819.  
  820. ** The minibuffer now has a menu-bar menu.  You can use it to exit or
  821. abort the minibuffer, or to ask for completion.
  822.  
  823. ** Dead-key and composite character processing is done in the standard
  824. X11R6 manner (through the default "input method" using the
  825. /usr/lib/X11/locale/*/Compose databases of key combinations).  I.e. if
  826. it works in xterm, it should also work in emacs now.
  827.  
  828. ** Mouse changes
  829.  
  830. *** You can now use the mouse when running Emacs in an xterm.
  831. Use M-x xterm-mouse-mode to let emacs take control over the mouse.
  832.  
  833. *** C-mouse-1 now once again provides a menu of buffers to select.
  834. S-mouse-1 is now the way to select a default font for the frame.
  835.  
  836. *** There is a new mouse-scroll-min-lines variable to control the
  837. minimum number of lines scrolled by dragging the mouse outside a
  838. window's edge.
  839.  
  840. *** Dragging mouse-1 on a vertical line that separates windows
  841. now moves the line, thus changing the widths of the two windows.
  842. (This feature is available only if you don't have vertical scroll bars.
  843. If you do use them, a scroll bar separates two side-by-side windows.)
  844.  
  845. *** Double-click mouse-1 on a character with "symbol" syntax (such as
  846. underscore, in C mode) selects the entire symbol surrounding that
  847. character.  (Double-click mouse-1 on a letter selects a whole word.)
  848.  
  849. ** When incremental search wraps around to the beginning (or end) of
  850. the buffer, if you keep on searching until you go past the original
  851. starting point of the search, the echo area changes from "Wrapped" to
  852. "Overwrapped".  That tells you that you are revisiting matches that
  853. you have already seen.
  854.  
  855. ** Filling changes.
  856.  
  857. *** If the variable colon-double-space is non-nil, the explicit fill
  858. commands put two spaces after a colon.
  859.  
  860. *** Auto-Fill mode now supports Adaptive Fill mode just as the
  861. explicit fill commands do.  The variable adaptive-fill-regexp
  862. specifies a regular expression to match text at the beginning of
  863. a line that should be the fill prefix.
  864.  
  865. *** Adaptive Fill mode can take a fill prefix from the first line of a
  866. paragraph, *provided* that line is not a paragraph-starter line.
  867.  
  868. Paragraph-starter lines are indented lines that start a new
  869. paragraph because they are indented.  This indentation shouldn't
  870. be copied to additional lines.
  871.  
  872. Whether indented lines are paragraph lines depends on the value of the
  873. variable paragraph-start.  Some major modes set this; you can set it
  874. by hand or in mode hooks as well.  For editing text in which paragraph
  875. first lines are not indented, and which contains paragraphs in which
  876. all lines are indented, you should use Indented Text mode or arrange
  877. for paragraph-start not to match these lines.
  878.  
  879. *** You can specify more complex ways of choosing a fill prefix
  880. automatically by setting `adaptive-fill-function'.  This function
  881. is called with point after the left margin of a line, and it should
  882. return the appropriate fill prefix based on that line.
  883. If it returns nil, that means it sees no fill prefix in that line.
  884.  
  885. ** Gnus changes.
  886.  
  887. Gnus, the Emacs newsreader, has been rewritten and expanded.  Most
  888. things that worked with the old version should still work with the new
  889. version.  Code that relies heavily on Gnus internals is likely to
  890. fail, though.
  891.  
  892. *** Incompatibilities with the old GNUS.
  893.  
  894. **** All interactive commands have kept their names, but many internal
  895. functions have changed names.
  896.  
  897. **** The summary mode gnus-uu commands have been moved from the `C-c
  898. C-v' keymap to the `X' keymap.
  899.  
  900. **** There can now be several summary buffers active at once.
  901. Variables that are relevant to each summary buffer are buffer-local to
  902. that buffer.
  903.  
  904. **** Old hilit code doesn't work at all.  Gnus performs its own
  905. highlighting based not only on what's visible in the buffer, but on
  906. other data structures.
  907.  
  908. **** Old packages like `expire-kill' will no longer work.  
  909.  
  910. **** `C-c C-l' in the group buffer no longer switches to a different
  911. buffer, but instead lists killed groups in the group buffer.
  912.  
  913. *** New features.
  914.  
  915. **** The look of all buffers can be changed by setting format-like
  916. variables.
  917.  
  918. **** Local spool and several NNTP servers can be used at once.
  919.  
  920. **** Groups can be combined into virtual groups.
  921.  
  922. **** Different mail formats can be read much the same way as one would
  923. read newsgroups.  All the mail backends implement mail expiry schemes.
  924.  
  925. **** Gnus can use various strategies for gathering threads that have
  926. lost their roots (thereby gathering loose sub-threads into one thread)
  927. or it can go back and retrieve enough headers to build a complete
  928. thread.
  929.  
  930. **** Killed groups can be read.
  931.  
  932. **** Gnus can do partial group updates - you do not have to retrieve
  933. the entire active file just to check for new articles in a few groups.
  934.  
  935. **** Gnus implements a sliding scale of subscribedness to groups.
  936.  
  937. **** You can score articles according to any number of criteria.  You
  938. can get Gnus to score articles for you using adaptive scoring.
  939.  
  940. **** Gnus maintains a dribble buffer that is auto-saved the normal
  941. Emacs manner, so it should be difficult to lose much data on what you
  942. have read if your machine should go down.
  943.  
  944. **** Gnus now has its own startup file (`.gnus.el') to avoid
  945. cluttering up the `.emacs' file.
  946.  
  947. **** You can set the process mark on both groups and articles and
  948. perform operations on all the marked items.
  949.  
  950. **** You can grep through a subset of groups and create a group from
  951. the results.
  952.  
  953. **** You can list subsets of groups using matches on group names or
  954. group descriptions.
  955.  
  956. **** You can browse foreign servers and subscribe to groups from those
  957. servers.
  958.  
  959. **** Gnus can pre-fetch articles asynchronously on a second connection
  960. to the servers.
  961.  
  962. **** You can cache articles locally.
  963.  
  964. **** Gnus can fetch FAQs to and descriptions of groups.
  965.  
  966. **** Digests (and other files) can be used as the basis for groups.
  967.  
  968. **** Articles can be highlighted and customized.
  969.  
  970. ** Changes to Version Control (VC)
  971.  
  972. *** General changes (all backends).
  973.  
  974. VC directory listings (C-x v d) are now kept up to date when you do a
  975. vc-next-action (C-x v v) on the marked files.  The `g' command updates
  976. the buffer properly.  `=' in a VC dired buffer produces a version
  977. control diff, not an ordinary diff.
  978.  
  979. *** CVS changes.
  980.  
  981. Under CVS, you no longer need to type C-x C-q before you can edit a
  982. file.  VC doesn't write-protect unmodified buffers anymore; you can
  983. freely change them at any time.  The mode line keeps track of the
  984. file status.
  985.  
  986. If you do want unmodified files to be write-protected, set your
  987. CVSREAD environment variable.  VC sees this and behaves accordingly;
  988. that will give you the behaviour of Emacs 19.29, similar to that under
  989. RCS and SCCS.  In this mode, if the variable vc-mistrust-permissions
  990. is nil, VC learns the modification state from the file permissions.
  991. When setting CVSREAD for the first time, you should check out the
  992. whole module anew, so that the file permissions are set correctly.
  993.  
  994. VC also works with remote repositories now.  When you visit a file, it
  995. doesn't run "cvs status" anymore, so there shouldn't be any long delays.
  996.  
  997. Directory listings under VC/CVS have been enhanced.  Type C-x v d, and
  998. you get a list of all files in or below the current directory that are
  999. not up-to-date.  The actual status (modified, merge, conflict, ...) is
  1000. displayed for each file.  If you give a prefix argument (C-u C-x v d),
  1001. up-to-date files are also listed.  You can mark any number of files,
  1002. and execute the next logical version control command on them (C-x v v).
  1003.  
  1004. *** Starting a new branch.
  1005.  
  1006. If you try to lock a version that is not the latest on its branch, 
  1007. VC asks for confirmation in the minibuffer.  If you say no, it offers
  1008. to lock the latest version instead.
  1009.  
  1010. *** RCS non-strict locking.
  1011.  
  1012. VC can now handle RCS non-strict locking, too.  In this mode, working
  1013. files are always writable and you needn't lock the file before making
  1014. changes, similar to the default mode under CVS.  To enable non-strict
  1015. locking for a file, use the "rcs -U" command.
  1016.  
  1017. *** Sharing RCS master files.
  1018.  
  1019. If you share RCS subdirs with other users (through symbolic links),
  1020. and you always want to work on the latest version, set
  1021. vc-consult-headers to nil and vc-mistrust-permissions to `t'.
  1022. Then you see the state of the *latest* version on the mode line, not
  1023. that of your working file.  When you do a check out, VC overwrites
  1024. your working file with the latest version from the master.
  1025.  
  1026. *** RCS customization.
  1027.  
  1028. There is a new variable vc-consult-headers.  If it is t (the default),
  1029. VC searches for RCS headers in working files (like `$Id$') and
  1030. determines the state of the file from them, not from the master file.
  1031. This is fast and more reliable when you use branches.  (The variable
  1032. was already present in Emacs 19.29, but didn't get mentioned in the
  1033. NEWS.)
  1034.  
  1035. ** Calendar changes.
  1036.  
  1037. *** New calendars supported: Chinese, Coptic, Ethiopic
  1038.  
  1039. Here are the commands for converting to and from these calendars:
  1040.  
  1041.    gC: calendar-goto-chinese-date
  1042.    gk: calendar-goto-coptic-date
  1043.    ge: calendar-goto-ethiopic-date
  1044.  
  1045.    pC: calendar-print-chinese-date
  1046.    pk: calendar-print-coptic-date
  1047.    pe: calendar-print-ethiopic-date
  1048.  
  1049. *** Printed calendars
  1050.  
  1051. Calendar mode now has commands to produce fancy printed calendars via
  1052. LaTeX.  You can ask for a calendar for one or more days, weeks, months
  1053. or years.  The commands all start with `t'; see the manual for a list
  1054. of them.
  1055.  
  1056. *** New sexp diary entry type
  1057.  
  1058. Reminders that apply in the days leading up to an event. 
  1059.  
  1060. ** The CC-mode package now provides the default C and C++ modes.
  1061. See the manual for documentation of its features.
  1062.  
  1063. ** The uniquify package chooses buffer names differently when you
  1064. visit multiple files with the same name (in different directories).
  1065.  
  1066. ** RMAIL now always uses the movemail program when it renames an
  1067. inbox file, so that it can interlock properly with the mailer
  1068. no matter where it is delivering mail.
  1069.  
  1070. ** tex-start-of-header and tex-end-of-header are now regular expressions,
  1071. not strings.
  1072.  
  1073. ** To enable automatic uncompression of compressed files,
  1074. type M-x auto-compression-mode.  (This command used to be called
  1075. toggle-auto-compression, but was not documented before.)  In Lisp,
  1076. you can do
  1077.  
  1078.    (auto-compression-mode 1)
  1079.  
  1080. to turn the mode on.
  1081.  
  1082. ** The new pc-select package emulates the key bindings for cutting and
  1083. pasting, and selection of regions, found in Windows, Motif, and the
  1084. Macintosh.
  1085.  
  1086. ** Help buffers now use a special major mode, Help mode.  This mode
  1087. normally turns on View mode; it also provides a hook, help-mode-hook,
  1088. which you can use for other customization.
  1089.  
  1090. ** Apropos now uses faces for enhanced legibility.  It now describes
  1091. symbol properties as well as their function definitions and variable
  1092. values.  You can use Mouse-2 or RET to get more information about a
  1093. function definition, variable, or property.
  1094.  
  1095. ** Font Lock mode
  1096.  
  1097. *** Supports Scheme, TCL and Help modes
  1098.  
  1099. For example, to automatically turn on Font Lock mode in the *Help*
  1100. buffer, put:
  1101.  
  1102.  (add-hook 'help-mode-hook 'turn-on-font-lock)
  1103.  
  1104. in your ~/.emacs.
  1105.  
  1106. *** Enhanced fontification
  1107.  
  1108. The structure of font-lock-keywords is extended to allow "anchored" keywords.
  1109. Typically, a keyword item of font-lock-keywords comprises a regexp to search
  1110. for and information to specify how the regexp should be highlighted.  However,
  1111. the highlighting information is extended so that it can be another keyword
  1112. item.  This keyword item, its regexp and highlighting information, is processed
  1113. before resuming with the keyword item of which it is part.
  1114.  
  1115. For example, a typical keyword item might be:
  1116.  
  1117.  ("\\<anchor\\>" (0 anchor-face))
  1118.  
  1119. which fontifies each occurrence of the discrete word "anchor" in the value of
  1120. the variable anchor-face.  However, the highlighting information can be used to
  1121. fontify text that is anchored to the word "anchor".  For example:
  1122.  
  1123.  ("\\<anchor\\>" (0 anchor-face) ("\\=[ ,]*\\(item\\)" nil nil (1 item-face)))
  1124.  
  1125. which fontifies each occurrence of "anchor" as above, but for each occurrence
  1126. of "anchor", each occurrence of "item", in any following comma separated list,
  1127. is fontified in the value of the variable item-face.  Thus the "item" text is
  1128. anchored to the "anchor" text.  See the variable documentation for further
  1129. information.
  1130.  
  1131. This feature is used to extend the level and quality of fontification in a
  1132. number of modes.  For example, C/C++ modes now have level 3 decoration that
  1133. includes the fontification of variable and function names in declaration lists.
  1134. In this instance, the "anchor" described in the above example is a type or
  1135. class name, and an "item" is a variable or function name.
  1136.  
  1137. *** Fontification levels
  1138.  
  1139. The variables font-lock-maximum-decoration and font-lock-maximum-size are
  1140. extended to specify levels and sizes for specific modes.  The variable
  1141. font-lock-maximum-decoration specifies the preferred level of fontification for
  1142. modes that provide multiple levels (typically from "subdued" to "gaudy").  The
  1143. variable font-lock-maximum-size specifies the buffer size for which buffer
  1144. fontification is suppressed when Font Lock mode is turned on (typically because
  1145. it would take too long).
  1146.  
  1147. These variables can now specify values for individual modes, by supplying
  1148. lists of mode names and values.  For example, to use the above mentioned level
  1149. 3 decoration for buffers in C/C++ modes, and default decoration otherwise, put:
  1150.  
  1151.  (setq font-lock-maximum-decoration '((c-mode . 3) (c++-mode . 3)))
  1152.  
  1153. in your ~/.emacs.  Maximum buffer size values for individual modes are
  1154. specified in the same way with the variable font-lock-maximum-size.
  1155.  
  1156. *** Font Lock configuration
  1157.  
  1158. The mechanism to provide default settings for Font Lock mode are the variables
  1159. font-lock-defaults and font-lock-maximum-decoration.  Typically, you should
  1160. only need to change the value of font-lock-maximum-decoration.  However, to
  1161. support Font Lock mode for buffers in modes that currently do not support Font
  1162. Lock mode, you should set a buffer local value of font-lock-defaults for that
  1163. mode, typically via its mode hook.
  1164.  
  1165. These variables are used by Font Lock mode to set the values of the variables
  1166. font-lock-keywords, font-lock-keywords-only, font-lock-syntax-table,
  1167. font-lock-beginning-of-syntax-function and font-lock-keywords-case-fold-search.
  1168.  
  1169. You need not set these variables directly, and should not set them yourself
  1170. since the underlining mechanism may change in future.
  1171.  
  1172. ** Archive mode is now the default mode for various sorts of
  1173. archive files (files whose names end with .arc, .lzh, .zip, and .zoo).
  1174.  
  1175. ** You can automatically update the years in copyright notice by
  1176. means of (add-hook 'write-file-hooks 'copyright-update).
  1177. Optionally it can update the GPL version as well.
  1178.  
  1179. ** Scripts of various languages (Shell, AWK, Perl, makefiles ...) can
  1180. be automatically provided with a magic number and be made executable
  1181. by their respective modes under control of various user variables.
  1182. The mode must call (executable-set-magic "perl") or
  1183. (executable-set-magic "make" "-f").  The latter for example has no
  1184. effect on [Mm]akefile.
  1185.  
  1186. ** Shell script mode now supports over 15 different shells.  The new
  1187. command C-c ! executes the region, and optionally beginning of script
  1188. as well, by passing them to the shell.
  1189.  
  1190. Cases such as `sh' being a `bash' are now accounted for.
  1191. Fontification now also does variables, the magic number and all
  1192. builtin commands.  Shell script mode no longer mingles `tab-width' and
  1193. indentation style.  The variable `sh-tab-width' has been renamed to
  1194. `sh-indentation'.  Empty lines are now indented like previous
  1195. non-empty line, rather than just previous line.
  1196.  
  1197. The annoying $ variable prompting has been eliminated.  Instead, shell
  1198. script mode uses `comint-dynamic-completion' for commands, variables
  1199. and filenames.
  1200.  
  1201. ** Two-column mode now automatically scrolls both buffers together,
  1202. which makes it possible to eliminate the special scrolling commands
  1203. that used to do so.
  1204.  
  1205. The commands that operate in two-column mode are no longer bound to
  1206. keys outside that mode.  f2 o will now position at the same point in
  1207. associated buffer.
  1208.  
  1209. the new command f2 RET inserts a newline in both buffers, at point and
  1210. at the corresponding position in the associated buffer.
  1211.  
  1212. ** Skeleton commands now work smoothly as abbrev definitions.  The
  1213. element < no longer exists, ' is a new element.
  1214.  
  1215. ** The autoinsert insert facility for prefilling empty files as soon
  1216. as they are found has been extended to accommodate skeletons or calling
  1217. functions.  See the function auto-insert.
  1218.  
  1219. ** TPU-edt Changes
  1220.  
  1221. Loading tpu-edt no longer turns on tpu-edt mode.  In fact, it is no
  1222. longer necessary to explicitly load tpu-edt.  All you need to do to
  1223. turn on tpu-edt is run the tpu-edt function.  Here's how to run
  1224. tpu-edt instead of loading the file:
  1225.   
  1226.   Running Emacs:   Type      emacs -f tpu-edt
  1227.                     not      emacs -l tpu-edt
  1228.  
  1229.   Within Emacs:    Type      M-x tpu-edt <ret>
  1230.                     not      M-x load-library <ret> tpu-edt <ret>
  1231.   
  1232.   In .emacs:       Use       (tpu-edt)
  1233.                    not       (load "tpu-edt")
  1234.   
  1235. The default name of the tpu-edt X key definition file has changed from
  1236. ~/.tpu-gnu-keys to ~/.tpu-keys.  If you don't rename the file yourself,
  1237. tpu-edt will offer to rename it the first time you invoke it under
  1238. x-windows.
  1239.  
  1240. ** MS-DOS Enhancements:
  1241.  
  1242. *** Better mouse control by adding the following functions [in dosfns.c]
  1243. msdos-mouse-enable, msdos-mouse-disable, msdos-mouse-init.
  1244.  
  1245. *** If another foreground/background color than the default is setup in
  1246. your ~/_emacs, then the screen briefly flickers with the default
  1247. colors before changing to the colors you have specified.  To avoid
  1248. this, the EMACSCOLORS environment variable exists.  It shall be
  1249. defined as a string with the following elements:
  1250.   
  1251.     set EMACSCOLORS=fb;fb
  1252.   
  1253. The first set of "fb" defines the initial foreground and background
  1254. colors using standard dos color numbers (0=black,.., 7=white).
  1255. If specified, the second set of "fb" defines the colors which are
  1256. restored when you leave emacs.
  1257.   
  1258. *** The new SUSPEND environment variable can now be set as the shell to
  1259. use when suspending emacs.  This can be used to override the stupid
  1260. limitation on the environment of sub-shells in MS-DOS (they are just
  1261. large enough to hold the currently defined variables, not leaving
  1262. room for more); to overcome this limitation, add this to autoexec.bat:
  1263.   
  1264.     set SUSPEND=%COMSPEC% /E:2000
  1265.  
  1266. ** The escape character can now be displayed on X frames.  Try
  1267. this:
  1268.     (aset standard-display-table 27 (vector 27))
  1269. after first creating a display table (you can do that by loading
  1270. the disp-table library).
  1271.  
  1272. ** The new command-line option --eval specifies an expression to evaluate
  1273. from the command line.
  1274.  
  1275. ** etags has now the ability to tag Perl files.  They are recognised
  1276. either by the .pm and .pl suffixes or by a first line which starts
  1277. with `#!' and specifies a Perl interpreter.  The tagged lines are
  1278. those beginning with the `sub' keyword.
  1279.  
  1280. New suffixes recognised are .hpp for C++; .f90 for Fortran; .bib,
  1281. .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp; .prolog for
  1282. prolog (.pl is now Perl).
  1283.  
  1284. ** The files etc/termcap.dat and etc/termcap.ucb have been replaced
  1285. with a new, merged, and much more comprehensive termcap file.  The
  1286. new file should include all the special entries from the old one.
  1287. This new file is under active development as part of the ncurses
  1288. project.  If you have any questions about this file, or problems with
  1289. an entry in it, email terminfo@ccil.org.
  1290.  
  1291. * Lisp changes in Emacs 19.30.
  1292.  
  1293. ** New Data Types
  1294.  
  1295. *** There is a new data type called a char-table which is an array
  1296. indexed by a character.  Currently this is mostly equivalent to a
  1297. vector of length 256, but in the future, when a wider character set is
  1298. in use, it will be different.  To create one, call
  1299.    (make-char-table SUBTYPE INITIAL-VALUE)
  1300.  
  1301. SUBTYPE is a symbol that identifies the specific use of this
  1302. character table.  It can be any of these values:
  1303.  
  1304.   syntax-table
  1305.   display-table
  1306.   keyboard-translate-table
  1307.   case-table
  1308.  
  1309. The function `char-table-subtype' returns the subtype of a char-table.
  1310. You cannot alter the subtype of an existing char-table.
  1311.  
  1312. A char-table has an element for each character code.  It also has some
  1313. "extra slots".  The number of extra slots depends on the subtype and
  1314. their use depends on the subtype.  (Each subtype symbol has a
  1315. `char-table-extra-slots' property that says how many extra slots to
  1316. make.)  Use (char-table-extra-slot TABLE N) to access extra slot N and
  1317. (set-char-table-extra-slot TABLE N VALUE) to store VALUE in slot N.
  1318.  
  1319. A char-table T can have a parent, which should be another char-table
  1320. P.  If you look for the value in T for character C, and the table T
  1321. actually holds nil, P's element for character C is used instead.
  1322. The functions `char-table-parent' and `set-char-table-parent'
  1323. let you read or set the parent of a char-table.
  1324.  
  1325. To scan all the values in a char-table, do not try to loop through all
  1326. possible character codes.  That would work for now, but will not work
  1327. in the future.  Instead, call map-char-table.  (map-char-table
  1328. FUNCTION TABLE) calls FUNCTION once for each character or character
  1329. set that has a distinct value in TABLE.  FUNCTION gets two arguments,
  1330. RANGE and VALUE.  RANGE specifies a range of TABLE that has one
  1331. uniform value, and VALUE is the value in TABLE for that range.
  1332.  
  1333. Currently, RANGE is always a vector containing a single character
  1334. and it refers to that character alone.  In the future, other kinds
  1335. of ranges will occur.  You can set the value for a given range
  1336. with (set-char-table-range TABLE RANGE VALUE) and examine the value
  1337. for a range with (char-table-range TABLE RANGE).
  1338.  
  1339. *** Syntax tables are now represented as char-tables.
  1340. All syntax tables other than the standard syntax table
  1341. normally have the standard syntax table as their parent.
  1342. Their subtype is `syntax-table'.
  1343.  
  1344. *** Display tables are now represented as char-tables.
  1345. Their subtype is `display-table'.
  1346.  
  1347. *** Case tables are now represented as char-tables.
  1348. Their subtype is `case-table'.
  1349.  
  1350. *** The value of keyboard-translate-table may now be a char-table
  1351. instead of a string.  Normally the char-tables used for this purpose
  1352. have the subtype `keyboard-translate-table', but that is not required.
  1353.  
  1354. *** A new data type called a bool-vector is a vector of values
  1355. that are either t or nil.  To create one, do
  1356.    (make-bool-vector LENGTH INITIAL-VALUE)
  1357.  
  1358. ** You can now specify, for each marker, how it should relocate when
  1359. text is inserted at the place where the marker points.  This is called
  1360. the "insertion type" of the marker.
  1361.  
  1362. To set the insertion type, do (set-marker-insertion-type MARKER TYPE).
  1363. If TYPE is t, it means the marker advances when text is inserted.  If
  1364. TYPE is nil, it means the marker does not advance.  (In Emacs 19.29,
  1365. markers did not advance.)
  1366.  
  1367. The function marker-insertion-type reports the insertion type of a
  1368. given marker.  The function copy-marker takes a second argument TYPE
  1369. which specifies the insertion type of the new copied marker.
  1370.  
  1371. ** When you create an overlay, you can specify the insertion type of
  1372. the beginning and of the end.  To do this, you can use two new
  1373. arguments to make-overlay: front-advance and rear-advance.
  1374.  
  1375. ** The new function overlays-in returns a list of the overlays that
  1376. overlap a specified range of the buffer.  The returned list includes
  1377. empty overlays at the beginning of this range, as well as within the
  1378. range.
  1379.  
  1380. ** The new hook window-scroll-functions is run when a window has been
  1381. scrolled.  The functions in this list are called just before
  1382. redisplay, after the new window-start has been computed.  Each function
  1383. is called with two arguments--the window that has been scrolled, and its
  1384. new window-start position.
  1385.  
  1386. This hook is useful for on-the-fly fontification and other features
  1387. that affect how the redisplayed text will look when it is displayed.
  1388.  
  1389. The window-end value of the window is not valid when these functions
  1390. are called.  The computation of window-end is byproduct of actual
  1391. redisplay of the window contents, which means it has not yet happened
  1392. when the hook is run.  Computing window-end specially in advance for
  1393. the sake of these functions would cause a slowdown.
  1394.  
  1395. The hook functions can determine where the text on the window will end
  1396. by calling vertical-motion starting with the window-start position.
  1397.  
  1398. ** The new hook redisplay-end-trigger-functions is run whenever
  1399. redisplay in window uses text that extends past a specified end
  1400. trigger position.  You set the end trigger position with the function
  1401. set-window-redisplay-end-trigger.  The functions are called with two
  1402. arguments: the window, and the end trigger position.  Storing nil for
  1403. the end trigger position turns off the feature, and the trigger value
  1404. is automatically reset to nil just after the hook is run.
  1405.  
  1406. You can use the function window-redisplay-end-trigger to read a
  1407. window's current end trigger value.
  1408.  
  1409. ** The new function insert-file-contents-literally inserts the
  1410. contents of a file without any character set translation or decoding.
  1411.  
  1412. ** The new function safe-length computes the length of a list.
  1413. It never gets an error--it treats any non-list like nil.
  1414. If given a circular list, it returns an upper bound for the number
  1415. of elements before the circularity.
  1416.  
  1417. ** replace-match now takes a fifth argument, SUBEXP.  If SUBEXP is
  1418. non-nil, that says to replace just subexpression number SUBEXP of the
  1419. regexp that was matched, not the entire match.  For example, after
  1420. matching `foo \(ba*r\)' calling replace-match with 1 as SUBEXP means
  1421. to replace just the text that matched `\(ba*r\)'.
  1422.  
  1423. ** The new keymap special-event-map defines bindings for certain
  1424. events that should be handled at a very low level--as soon as they
  1425. are read.  The read-event function processes these events itself,
  1426. and never returns them.
  1427.  
  1428. Events that are handled in this way do not echo, they are never
  1429. grouped into key sequences, and they never appear in the value of
  1430. last-command-event or (this-command-keys).  They do not discard a
  1431. numeric argument, they cannot be unread with unread-command-events,
  1432. they may not appear in a keyboard macro, and they are not recorded
  1433. in a keyboard macro while you are defining one.
  1434.  
  1435. These events do, however, appear in last-input-event immediately after
  1436. they are read, and this is the way for the event's definition to find
  1437. the actual event.
  1438.  
  1439. The events types iconify-frame, make-frame-visible and delete-frame
  1440. are normally handled in this way.
  1441.  
  1442. ** encode-time now supports simple date arithmetic by means of
  1443. out-of-range values for its SEC, MINUTE, HOUR, DAY, and MONTH
  1444. arguments; for example, day 0 means the day preceding the given month.
  1445. Also, the ZONE argument can now be a TZ-style string.
  1446.  
  1447. ** command-execute and call-interactively now accept an optional third
  1448. argument KEYS.  If specified and non-nil, this specifies the key
  1449. sequence containing the events that were used to invoke the command.
  1450.  
  1451. ** The environment variable NAME, if set, now specifies the value of
  1452. (user-full-name), when Emacs starts up.
  1453.  
  1454. * User Editing Changes in Emacs 19.29
  1455.  
  1456. ** If you run out of memory.
  1457.  
  1458. If you get the error message "Virtual memory exhausted", type C-x s.
  1459. That way of saving files has the least additional memory needs.  Emacs
  1460. 19.29 keeps a reserve of memory which it makes available when this
  1461. error happens; that is to ensure that C-x s can complete its work.
  1462.  
  1463. Once you have saved your data, you can exit and restart Emacs, or use
  1464. M-x kill-some-buffers to free up space.  If you kill buffers
  1465. containing a substantial amount of text, you can go on editing.
  1466.  
  1467. Do not use M-x buffer-menu to save or kill buffers when you are out of
  1468. memory, because that needs a fair amount memory itself and you may not
  1469. have enough to get it started.
  1470.  
  1471. ** The format of compiled files has changed incompatibly.
  1472.  
  1473. Byte-compiled files made with Emacs 19.29 normally use a new format
  1474. that will not work in older Emacs versions.  You can compile files
  1475. in the old format if you wish; see "Changes in compilation," below.
  1476.  
  1477. ** Emacs 19.29 supports the DEC Alpha.
  1478.  
  1479. ** Emacs runs on Windows NT.
  1480.  
  1481. This port does not yet support windowing features.  It works like a
  1482. text-only terminal, but it does support a mouse.
  1483.  
  1484. In general, support for non-GNU-like operating systems is not a high
  1485. priority for the GNU project.  We merged in the support for Windows NT
  1486. because that system is expected to be very widely used.
  1487.  
  1488. ** Emacs supports Motif widgets.
  1489.  
  1490. You can build Emacs with Motif widgets by specifying --with-x-toolkit=motif
  1491. when you run configure.
  1492.  
  1493. Motif defines collections of windows called "tab groups", and uses the
  1494. tab key and the cursor keys to move between windows in a tab group.
  1495. Emacs naturally does not support this--it has other uses for the tab
  1496. key and cursor keys.  Emacs does not support Motif accelerators either,
  1497. because it uses its normal keymap event binding features.
  1498.  
  1499. We give higher priority to operation with a free widget set than to
  1500. operation with a proprietary one.
  1501.  
  1502. ** If Emacs or the computer crashes, you can recover all the files you
  1503. were editing from their auto save files by typing M-x recover-session.
  1504. This first shows you a list of recorded interrupted sessions.  Move
  1505. point to the one you choose, and type C-c C-c.
  1506.  
  1507. Then recover-session asks about each of the files that were being
  1508. edited during that session, asking whether to recover that file.  If
  1509. you answer y, it calls recover-file, which works in its normal
  1510. fashion.  It shows the dates of the original file and its auto-save
  1511. file and asks once again whether to recover that file.
  1512.  
  1513. When recover-session is done, the files you've chosen to recover
  1514. are present in Emacs buffers.  You should then save them.
  1515. Only this--saving them--updates the files themselves.
  1516.  
  1517. ** Menu bar menus now stay up if you click on the menu bar item and
  1518. release the mouse button within a certain amount of time.  This is in
  1519. the X Toolkit version.
  1520.  
  1521. ** The menu bar menus have been rearranged and split up to make for a
  1522. better organization.  Two new menu bar menus, Tools and Search,
  1523. contain items that were formerly in the Files and Edit menus, as well
  1524. as some that did not exist in the menu bar menus before.
  1525.  
  1526. ** Emacs can now display on more than one X display at the same time.
  1527. Use the command make-frame-on-display to create a frame, specifying
  1528. which display to use.
  1529.  
  1530. ** M-x talk-connect sets up a multi-user talk connection
  1531. via Emacs.  Specify the X display of the person you want to talk to.
  1532. You can talk to any number of people (within reason) by using
  1533. this command repeatedly to specify different people.
  1534.  
  1535. Emacs does not make a fuss about security; the people who you talk to
  1536. can use all Emacs features, including visiting and editing files.  If
  1537. this frightens you, don't use M-x talk-connect.
  1538.  
  1539. ** The range of integer values is now at least 2**28 on all machines.
  1540. This means the maximum size of a buffer is at least 2**27-1,
  1541. or 134,217,727.
  1542.  
  1543. ** When you start Emacs, you can now specify option names in
  1544. long GNU form (starting with `--') and you can abbreviate the names.
  1545.  
  1546. You can now specify the options in any order.
  1547. The previous requirements about the order of options
  1548. have been eliminated.
  1549.  
  1550. The -L or --directory option lets you specify an additional
  1551. directory to search for Lisp libraries (including libraries
  1552. that you specify with the -l or --load options).
  1553.  
  1554. ** Incremental search in Transient Mark mode, if the mark is already
  1555. active, now leaves the mark active and does not change its position.
  1556. You can make incremental search deactivate the mark once again with
  1557. this expression.
  1558.  
  1559.     (add-hook 'isearch-mode-hook 'deactivate-mark)
  1560.  
  1561. ** C-delete now deletes a word backwards.  This is for compatibility
  1562. with some editors in the PC world.  (This key is not available on
  1563. ordinary ASCII terminals, because C-delete is not a distinct character
  1564. on those terminals.)
  1565.  
  1566. ** ESC ESC ESC is now a command to escape from various temporary modes
  1567. and states.
  1568.  
  1569. ** M-x pc-bindings-mode sets up bindings compatible with many PC editors.
  1570. In particular, Delete and its variants delete forward instead of backward.
  1571. Use Backspace to delete backward.
  1572.  
  1573. C-Backspace kills backward a word (as C-Delete normally would).
  1574. M-Backspace does undo.
  1575. Home and End move to beginning and end of line
  1576. C-Home and C-End move to beginning and end of buffer.
  1577.  
  1578. ** The key sequence for evaluating a Lisp expression using the minibuffer
  1579. is now ESC :.  It used to be ESC ESC, but we moved it to make way for
  1580. the ESC ESC ESC feature, on the grounds that people who evaluate Lisp
  1581. expressions are experienced users and can cope with a change.
  1582. If you prefer the old ESC ESC binding, put in your `~/.emacs':
  1583.  
  1584.     (global-set-key "\e\e" 'eval-expression)
  1585.  
  1586. ** The f1 function key is now equivalent to the help key.  This is
  1587. done with key-translation-map; delete the binding for f1 in that map
  1588. if you want to use f1 for something else.
  1589.  
  1590. ** Mouse-3, in the simplest case, still sets the region.  But now, it
  1591. places the mark where point was, and sets point where you click.
  1592. (It used to set the mark where you click and leave point alone.)
  1593.  
  1594. If you position point with Mouse-1, then scroll with the scroll bar
  1595. and use Mouse-3, Mouse-3 uses the position you specified with Mouse-1
  1596. even if it has scrolled off the screen (and point is no longer there).
  1597. This makes it easier to select a region with the mouse which is bigger
  1598. than a screenful.
  1599.  
  1600. Any editing of the buffer, and any cursor motion or scrolling for any
  1601. reason other than the scroll bar, cancels the special state set up by
  1602. Mouse-1--so that a subsequent Mouse-3 click will use the actual value
  1603. of point.
  1604.  
  1605. ** C-mouse-3 now pops up a mode-specific menu of commands--normally
  1606. the same ones available in the mode's own menu bar menus.
  1607.  
  1608. ** C-mouse-2 now pops up a menu of faces, indentation, justification,
  1609. and certain other text properties.  This menu is also available
  1610. through the menu-bar Edit menu.  It is meant for use with Enriched
  1611. mode.
  1612.  
  1613. *** You can use this menu to change the face of the region.
  1614. You can also set the face of the region with the new M-g command.
  1615.  
  1616. *** The menu also includes commands for indenting the region, 
  1617. which locally changes the values of left-margin and fill-column that
  1618. are used.
  1619.  
  1620. *** All fill functions now indent every line to the left-margin.  If
  1621. there is also a fill-prefix, that goes after the margin indentation.
  1622.  
  1623. *** Open-line and newline also make sure that the lines they create
  1624. are indented to the left margin.
  1625.  
  1626. *** It also allows you to set the "justification" of the region:
  1627. whether it should be centered, flush right, and so forth.  The fill
  1628. functions (including auto-fill-mode) will maintain the justification
  1629. and indentation that you request.
  1630.  
  1631. *** The new function `list-colors-display' shows you what colors are
  1632. available.  This is also accessible from the C-mouse-2 menu.
  1633.  
  1634. ** You can now save and load files including their faces and other
  1635. text-properties by using Enriched-mode.  Files are saved in an
  1636. extended version of the MIME text/enriched format.  You can use the
  1637. menus described above, or M-g and other keyboard commands, to
  1638. alter the formatting information.
  1639.  
  1640. ** C-mouse-1 now pops up the menu for changing the frame's default font.
  1641.  
  1642. ** You can input Hyper, Super, Meta, and Alt characters, as well as
  1643. non-ASCII control characters, on an ASCII-only terminal.
  1644. To do this, use
  1645.  
  1646.   C-x @ h  --  hyper
  1647.   C-x @ s  --  super
  1648.   C-x @ m  --  meta
  1649.   C-x @ a  --  alt
  1650.   C-x @ S  --  shift
  1651.   C-x @ c  --  control
  1652.  
  1653. These are not ordinary key sequences; they operate through
  1654. function-key-map, which means they can be used even in the
  1655. middle of an ordinary key sequence.
  1656.  
  1657. ** Outline minor mode and Hideif mode now use C-c @ as their prefix
  1658. character.
  1659.  
  1660. ** Echo area messages are now logged in the "*Messages*" buffer.  The
  1661. size of this buffer is limited to message-log-max lines.
  1662.  
  1663. ** RET in various special modes for read-only buffers that contain
  1664. lists of items now selects the item point is on.  These modes include
  1665. Dired, Compilation buffers, Buffer-menu, Tar mode, and Occur mode.
  1666. (In Info, RET follows the reference near point; in completion list
  1667. buffers, RET chooses the completion around point.)
  1668.  
  1669. ** set-background-color now updates the modeline face in a special
  1670. way.  If that face was previously set up to be reverse video, the
  1671. reverse of the default face, then set-background-color updates it so
  1672. that it remains the reverse of the default face.
  1673.  
  1674. ** The functions raise-frame and lower-frame are now commands.
  1675. When used interactively, they apply to the selected frame.
  1676.  
  1677. ** M-x buffer-menu now displays the buffer list in the selected window.
  1678. Use M-x buffer-menu-other-window to display it in another window.
  1679.  
  1680. ** M-w followed by a kill command now *does not* append the text in
  1681. the kill ring.  In consequence, M-w followed by C-w works as you would
  1682. expect: it leaves the top of the kill ring matching the region that
  1683. you killed.
  1684.  
  1685. ** In Lisp mode, the C-M-x command now executes defvar forms in a
  1686. special way: it unconditionally sets the variable to the specified
  1687. default value, if there is one.  Normal execution of defvar does not
  1688. alter the variable if it already has a non-void value.
  1689.  
  1690. ** In completion list buffers, the left and right arrow keys run the
  1691. new commands previous-completion and next-completion.  They move one
  1692. completion at a time.
  1693.  
  1694. ** While doing completion in the minibuffer, the `prior' or `pageup'
  1695. key switches to the completion list window.
  1696.  
  1697. ** When you exit the minibuffer with empty contents, the empty string
  1698. is not put in the minibuffer history.
  1699.  
  1700. ** The default buffer for insert-buffer is now the "first" buffer
  1701. other than the current one.  If you have more than one window, this
  1702. is a buffer visible in another window.  (Usually it is the buffer
  1703. that C-M-v would scroll.)
  1704.  
  1705. ** The etags program is now capable of recording tags based on regular
  1706. expressions provided on the command line.
  1707.  
  1708. This new feature allows easy support for constructs not normally
  1709. handled by etags, such as the macros frequently used in big C/C++
  1710. projects to define project-specific structures.  It also enables the
  1711. use of etags and TAGS files for languages not supported by etags.
  1712.  
  1713. The Emacs manual section on Tags contains explanations and examples
  1714. for Emacs's DEFVAR, VHDL, Cobol, Postscript and TCL.
  1715.  
  1716. ** Various mode-specific commands that used to be bound to C-c LETTER
  1717. have been moved.
  1718.  
  1719. *** In gnus-uu mode, gnus-uu-interactive-scan-directory is now on C-c C-d,
  1720. and gnus-uu-interactive-save-current-file is on C-c C-z.
  1721.  
  1722. *** In Scribe mode, scribe-insert-environment is now on C-c C-v,
  1723. scribe-chapter is on C-c C-c, scribe-subsection is on C-c C-s,
  1724. scribe-section is on C-c C-t, scribe-bracket-region-be is on C-c C-e,
  1725. scribe-italicize-word is on C-c C-i, scribe-bold-word is on C-c C-b,
  1726. and scribe-underline-word is on C-c C-u.
  1727.  
  1728. *** In Gomoku mode, gomoku-human-takes-back is now on C-c C-b,
  1729. gomoku-human-plays is on C-c C-p, gomoku-human-resigns is on C-c C-r,
  1730. and gomoku-emacs-plays is on C-c C-e.
  1731.  
  1732. *** In the Outline mode defined in allout.el,
  1733. outline-rebullet-current-heading is now on C-c *.
  1734.  
  1735. ** M-s in Info now searches through the nodes of the Info file,
  1736. just like s.  The alias M-s was added so that you can use the same
  1737. command for searches in both Info and Rmail.
  1738.  
  1739. ** iso-acc.el now lets you enter inverted-! and inverted-?
  1740. with the sequences ~! and ~?.
  1741.  
  1742. ** M-x compare-windows now pushes mark in both windows before
  1743. it starts moving point.
  1744.  
  1745. ** There are two new commands in Dired, A (dired-do-search)
  1746. and Q (dired-do-query-replace).  These are similar to tags-search and
  1747. tags-query-replace, but instead of searching the list of files that
  1748. appears in a tags table, they search all the files marked in Dired.
  1749.  
  1750. ** Changes to dabbrev.
  1751.  
  1752. A new function, `dabbrev-completion' (bound to M-C-/), expands the
  1753. unique part of an abbreviation.
  1754.  
  1755. Dabbrev now looks for expansions in other buffers, looks for symbols
  1756. instead of words and it works in the minibuffer.
  1757.  
  1758. Dabbrev can be customized to work for shell scripts, with variables
  1759. that sometimes have and sometimes haven't a leading "$".  See the
  1760. variable 'dabbrev-abbrev-skip-leading-regexp'.
  1761.  
  1762. ** In Rmail, the command rmail-input-menu has been eliminated.  The
  1763. feature of selecting an Rmail file from a menu is now implemented in
  1764. another way.
  1765.  
  1766. ** Bookmarks changes.
  1767.  
  1768. *** It now works to set bookmarks in Info nodes.
  1769.  
  1770. *** Bookmarks can have annotations; type "C-h m" after doing 
  1771. "M-x list-bookmarks", for more information on annotations.
  1772.  
  1773. *** The bookmark-jump popup menu function is now `bookmark-menu-jump', for
  1774. those who bind it to a mouse click.
  1775.  
  1776. *** The default bookmarks file name is now "~/.emacs.bmk".  If you
  1777. already have a bookmarks file, it will be renamed automagically when
  1778. you next load it.
  1779.  
  1780. ** New package, ps-print.
  1781.  
  1782. The ps-print package generates PostScript printouts of buffers or
  1783. regions, and includes face attributes such as color, underlining,
  1784. boldface and italics in the printed output.
  1785.  
  1786. ** New package, msb.
  1787.  
  1788. The msb package provides a buffer-menu in the menubar with separate
  1789. menus for different types of buffers.
  1790.  
  1791. ** `cpp.el' is a new library that can highlight or hide parts of a C
  1792. file according to C preprocessor conditionals.  To try it, run the
  1793. command M-x cpp-highlight-buffer.
  1794.  
  1795. ** Changes in CC mode.
  1796.  
  1797. *** c-set-offset and related functions and variables can now accept
  1798. variable symbols.  Also ++ and -- which mean 2* positive and negative
  1799. c-basic-offset respectively.
  1800.  
  1801. *** New variable, c-recognize-knr-p, which controls whether K&R C
  1802. constructs will be recognized.  Trying to recognize K&R constructs is a
  1803. time hog so if you're programming strictly in ANSI C, set this
  1804. variable to nil (it should already be nil in c++-mode).
  1805.  
  1806. *** New variable, c-hanging-comment-ender-p for controlling
  1807. c-fill-paragraph's behavior.
  1808.  
  1809. *** New syntactic symbol: statement-case-open.  This is assigned to lines
  1810. containing an open brace just after a case/default label.
  1811.  
  1812. *** New variable, c-progress-interval, which controls minibuffer update
  1813. message displays during long re-indention.  This is a new feature
  1814. which prints percentage complete messages at specified intervals.
  1815.  
  1816. ** Makefile mode changes. 
  1817.  
  1818. *** The electric keys are not enabled by default.
  1819.  
  1820. *** There is now a mode-specific menu bar menu.
  1821.  
  1822. *** The mode supports font-lock, add-log, and imenu.
  1823.  
  1824. *** The command M-TAB does completion of target names and variable names.
  1825.  
  1826. ** icomplete.el now works more like a minor mode.  Use M-x icomplete-mode
  1827. to turn it on and off.
  1828.  
  1829. Icomplete now supports an `icomplete-minibuffer-setup-hook', which is
  1830. run on minibuffer setup whenever icompletion will be occurring.  This
  1831. hook can be used to customize interoperation of icomplete with other
  1832. minibuffer-specific packages, eg rsz-mini.  See the doc string for
  1833. more info.
  1834.  
  1835. ** Ediff change.
  1836.  
  1837. Use ediff-revision instead of vc-ediff.  It also replaces rcs-ediff,
  1838. for those who use that; if you want to use a version control package
  1839. other than vc.el, you must set the variable
  1840. ediff-version-control-package to specify which package.
  1841.  
  1842. ** VC now supports branches with RCS.
  1843.  
  1844. You can use C-u C-x C-q to select any branch or version by number.
  1845. It reads the version number or branch number with the minibuffer,
  1846. then checks out the file unlocked.
  1847.  
  1848. Type C-x C-q again to lock the selected branch or version.
  1849. When you check in changes to that branch or version, there are two
  1850. possibilities:
  1851.  
  1852. -- If you've selected a branch, or a version at the tip of a branch,
  1853. then the new version adds to that branch.  If you wish to create a
  1854. new branch, use C-u C-x C-q to specify a version number when you check
  1855. in the new version.
  1856.  
  1857. -- If you've selected an inner version which is not the latest in its
  1858. branch, then the new version automatically creates a new branch.
  1859.  
  1860. ** VC now supports CVS as well as RCS and SCCS.
  1861.  
  1862. Since there are no locks in CVS, some things behave slightly
  1863. different when the backend is CVS.  When vc-next-action is invoked
  1864. in a directory handled by CVS, it does the following:
  1865.  
  1866.    If the file is not already registered, this registers it for version
  1867. control.  This does a "cvs add", but no "cvs commit".
  1868.    If the file is added but not committed, it is committed.
  1869.    If the file has not been changed, neither in your working area or
  1870. in the repository, a message is printed and nothing is done.
  1871.    If your working file is changed, but the repository file is
  1872. unchanged, this pops up a buffer for entry of a log message; when you
  1873. finish the log message with C-c C-c, that checks in the resulting
  1874. changes along with the log message as change commentary.  A writable
  1875. file remains in existence.
  1876.  
  1877.    If vc-next-action changes the repository file, it asks you
  1878. whether to merge in the changes into your working copy.
  1879.  
  1880. vc-directory, when started in a CVS file hierarchy, reports
  1881. all files that are modified (and thus need to be committed).
  1882. (When the backend is RCS or SCCS vc-directory reports all
  1883. locked files).
  1884.  
  1885. VC has no support for running the initial "cvs checkout" to get a
  1886. working copy of a module.  You can only use VC in a working copy of
  1887. a module.
  1888.  
  1889. You can disable the CVS support as follows:
  1890.  
  1891.   (setq vc-master-templates (delq 'vc-find-cvs-master vc-master-templates))
  1892.  
  1893. or by setting vc-handle-cvs to nil.
  1894.  
  1895. This may be desirable if you run a non-standard version of CVS, or
  1896. if CVS was compiled with FORCE_USE_EDITOR or (possibly)
  1897. RELATIVE_REPOS.
  1898.  
  1899. ** Comint and shell mode changes:
  1900.  
  1901. *** Completion works with file names containing quoted characters.
  1902.  
  1903. File names containing special characters (such as " ", "!", etc.) that are
  1904. quoted with a "\" character are recognised during completion.  Special
  1905. characters are quoted when they are inserted during completion.
  1906.  
  1907. *** You can use M-x comint-truncate-buffer to truncate the buffer.
  1908.  
  1909. When this command is run, the buffer is truncated to a maximum number
  1910. of lines, specified by the variable comint-buffer-maximum-size.  Just
  1911. like the command comint-strip-ctrl-m, this can be run automatically
  1912. during process output by doing this:
  1913.  
  1914. (add-hook 'comint-output-filter-functions
  1915.       'comint-truncate-buffer)
  1916.  
  1917. ** Telnet mode buffer name changed.
  1918.  
  1919. The buffer name for a Telnet buffer is now *telnet-HOST*, not
  1920.  *HOST-telnet*.  This is for consistency with other Emacs packages.
  1921.  
  1922. ** M-x man (man) is now faster and more robust.  On systems where the
  1923. entire man page is indented, the indentation is removed.
  1924.  
  1925. The user option names that used to end in -p now end in -flag.  The
  1926. new names are: Man-reuse-okay-flag, Man-downcase-section-letters-flag,
  1927. Man-circular-pages-flag.  The Man-notify user option has been renamed to
  1928. Man-notify-method and accepts one more value, `pushy', that just
  1929. switches the current buffer to the manpage buffer, without switching
  1930. frames nor changing your windows configuration.
  1931.  
  1932. A new user option Man-fontify-manpage-flag disables fontification
  1933. (thus speeding up man) when set to nil.  Default is to fontify if a
  1934. window system is used.  Two new user options Man-overstrike-face
  1935. (default 'bold) and Man-underline-face (default 'underline) can be set
  1936. to the preferred faces to be used for the words that man overstrikes
  1937. and underlines.  Useful for those who like coloured man pages.
  1938.  
  1939. Two new interactive functions are provided: Man-cleanup-manpage and
  1940. Man-fontify-manpage.  Both can be used on a buffer that contains the
  1941. output of a `rsh host man manpage' command, or the output of an
  1942. `nroff -man -Tman manpage' command to make them readable.
  1943. Man-cleanup-manpage is faster, but does not fontify.
  1944.  
  1945. ** The new function modify-face makes it easy to specify
  1946. all the attributes of a face, all at once.
  1947.  
  1948. ** Faces now support background stippling.
  1949.  
  1950. Use the command set-face-stipple to specify the stipple-pattern for a
  1951. face.  Use face-stipple to access the specified stipple pattern.  The
  1952. existing face functions now handle the stipple pattern when
  1953. appropriate.
  1954.  
  1955. If you specify one of the standard gray colors as a face background
  1956. color, and your display doesn't handle gray, Emacs automatically uses
  1957. stipple instead to get the same effect.
  1958.  
  1959. ** Changes in Font Lock mode.
  1960.  
  1961. *** Fontification
  1962.  
  1963. Two new default faces are provided; `font-lock-variable-name-face' and
  1964. `font-lock-reference-face'.  The face `font-lock-doc-string-face' has
  1965. been removed since it is the same as the existing
  1966. `font-lock-string-face'.  Where appropriate, fontification
  1967. automatically uses these new faces.
  1968.  
  1969. Fontification via commands `font-lock-mode' and
  1970. `font-lock-fontify-buffer' is now cleanly interruptible (i.e., with
  1971. C-g).  If you interrupt during the fontification process, the buffer
  1972. remains in its previous modified state and all highlighting is removed
  1973. from the buffer.
  1974.  
  1975. For C/C++ modes, Font Lock mode is much faster but highlights much
  1976. more.  Other modes are faster/more extensive/more discriminatory, or a
  1977. combination of these.
  1978.  
  1979. To enable Font Lock mode, add the new function `turn-on-font-lock' in
  1980. one of the following ways:
  1981.  
  1982.  (add-hook 'c-mode-hook 'turn-on-font-lock)
  1983.  
  1984. Or for any visited file with:
  1985.  
  1986.  (add-hook 'find-file-hooks 'turn-on-font-lock)
  1987.  
  1988. *** Supports color and grayscale displays
  1989.  
  1990. Font Lock mode supports different ways of highlighting, depending on
  1991. the type of display and background shade.  Attributes (face color,
  1992. bold, italic and underline, and display type and background mode) can
  1993. be controlled either from Emacs Lisp or X resources.
  1994.  
  1995. See the new variables `font-lock-display-type' and
  1996. `font-lock-face-attributes'.
  1997.  
  1998. *** Supports more modes
  1999.  
  2000. The following modes are directly supported:
  2001.  
  2002. ada-mode, asm-mode, bibtex-mode, c++-c-mode, c++-mode, c-mode,
  2003. change-log-mode, compilation-mode, dired-mode, emacs-lisp-mode,
  2004. fortran-mode, latex-mode, lisp-mode, mail-mode, makefile-mode,
  2005. outline-mode, pascal-mode, perl-mode, plain-tex-mode, rmail-mode,
  2006. rmail-summary-mode, scheme-mode, shell-mode, slitex-mode, tex-mode,
  2007. texinfo-mode.
  2008.  
  2009. See the new variables `font-lock-defaults-alist' and
  2010. `font-lock-defaults'.
  2011.  
  2012. Some modes support different levels of fontification.  You can choose
  2013. to use the minimum or maximum available decoration by changing the
  2014. value of the new variable `font-lock-maximum-decoration'.
  2015.  
  2016. Programmers are urged to make available to the community their own
  2017. keywords for modes not yet supported.  See font-lock.el for
  2018. information about efficiency.
  2019.  
  2020. *** fast-lock
  2021.  
  2022. The fast-lock package speeds up Font Lock mode by saving font choices
  2023. in associated cache files.  When you visit a file with Font Lock mode
  2024. and Fast Lock mode turned on for the first time, the file's buffer is
  2025. fontified as normal.  When certain events occur (such as exiting
  2026. Emacs), Fast Lock saves the highlighting in a cache file.  When you
  2027. subsequently visit this file, its cache is used to restore the
  2028. highlighting.
  2029.  
  2030. To use this package, put in your `~/.emacs':
  2031.  
  2032.  (add-hook 'font-lock-mode-hook 'turn-on-fast-lock)
  2033.  
  2034. To control the use of caches, see the documentation for `fast-lock-mode'.
  2035.  
  2036. ** You can tell pop-to-buffer to display certain buffers in the selected
  2037. window rather than finding some other window to display them in.
  2038. There are two variables you can use to specify these buffers.
  2039.  
  2040. same-window-buffer-names holds a list of buffer names; if a buffer's
  2041. name appears in this list, pop-to-buffer puts it in the selected window.
  2042.  
  2043. same-window-regexps holds a list of regexps--if any one of them
  2044. matches a buffer's name, then pop-to-buffer puts that buffer in the
  2045. selected window.
  2046.  
  2047. The default values of these variables are not nil: they list various
  2048. buffers that normally appear, when you as for them, in the selected
  2049. window.  These include shell buffers, mail buffers, telnet buffers,
  2050. and others.  By removing elements from these variables, you can ask
  2051. Emacs to display those buffers in separate windows.
  2052.  
  2053. ** The special-display-buffer-names and special-display-regexps lists
  2054. have been generalized.  An element may now be a list.  The car of the list
  2055. is the buffer name or regular expression for matching buffer names.
  2056.  
  2057. The cdr of the list can be an alist specifying additional frame
  2058. parameters for use in constructing the special display frame.
  2059.  
  2060. Alternatively, the cdr can have this form:
  2061.  
  2062.   (FUNCTION ARGS...)
  2063.  
  2064. where FUNCTION is a symbol.  Then the frame is constructed by calling
  2065. FUNCTION; its first argument is the buffer, and its remaining
  2066. arguments are ARGS.
  2067.  
  2068. ** If the environment variable REPLYTO is set, its value is the default
  2069. for mail-default-reply-to.
  2070.  
  2071. ** When you send a message in Emacs, if you specify an Rmail file with
  2072. the FCC: header field, Emacs converts the message to Rmail format
  2073. before writing it.  Thus, the file never contains anything but Rmail
  2074. format messages.
  2075.  
  2076. ** The new variable mail-from-style controls whether the From: header
  2077. should include the sender's full name, and if so, which format to use.
  2078.  
  2079. ** The new variable mail-personal-alias-file specifies the name of the
  2080. user's personal aliases.  This defaults to the file ~/.mailrc.
  2081. mailabbrev.el used to have its own variable for this purpose
  2082. (mail-abbrev-mailrc-file).  That variable is no longer used.
  2083.  
  2084. ** In Buffer-Menu mode, the d and C-d commands (which mark buffers for
  2085. deletion) now accept a prefix argument which serves as a repeat count.
  2086.  
  2087. ** Changes in BibTeX mode.
  2088.  
  2089. *** Reference keys can now be entered with TAB completion.  All
  2090. reference keys defined in that buffer and all labels that appear in
  2091. crossreference entries are object to completion.
  2092.  
  2093. *** Braces are supported as field delimiters in addition to quotes.
  2094. BibTeX entries may have brace-delimited and quote-delimited fields
  2095. intermixed.  The delimiters generated for new entries are specified by
  2096. the variables bibtex-field-left-delimiter and
  2097. bibtex-field-right-delimiter on a buffer-local basis. Those variables
  2098. default to braces, since it is easier to put quote accented characters
  2099. (as the german umlauts) into a brace-delimited entry.
  2100.  
  2101. *** The function bibtex-clean-entry can now be invoked with a prefix
  2102. argument.  In this case, a label is automatically generated from
  2103. various fields in the record.  If bibtex-clean-entry is invoked on a
  2104. record without label, a label is also generated automatically.
  2105. Various variables (all beginning with `bibtex-autokey-') control the
  2106. creation of that key.  The variable bibtex-autokey-edit-before-use
  2107. determines, if the user is allowed to edit auto-generated reference
  2108. keys before they are used.
  2109.  
  2110. *** A New function bibtex-complete-string completes strings with
  2111. respect to the strings defined in this buffer and a set of predefined
  2112. strings (initialized to the string macros defined in the standard
  2113. BibTeX style files) in the same way in which ispell-complete-word
  2114. works with respect to words in a dictionary.  Candidates for
  2115. bibtex-complete-string are initialized from variable
  2116. bibtex-predefined-strings and by parsing the files found in
  2117. bibtex-string-files for @String definitions.
  2118.  
  2119. *** Every reference/field pair has now attached a comment which
  2120. appears in the echo area when this field is edited.  These comments
  2121. should provide useful hints for BibTeX usage, especially for BibTeX
  2122. beginners.  New variable bibtex-help-message determines if these help
  2123. messages are to appear in the minibuffer when moving to a text entry.
  2124.  
  2125. *** Inscriptions of menu bar changed from "Entry Types" to
  2126. "Entry-Types" and "Bibtex Edit" to "BibTeX-Edit".
  2127.  
  2128. *** The variable bibtex-include-OPTcrossref is now not longer a binary
  2129. switch but a list of reference names which should contain a crossref
  2130. field.  E.g., you can tell bibtex-mode you want a crossref field for
  2131. @InProceedings and @InBook entries but for no other.
  2132.  
  2133. *** The function validate-bibtex-buffer was completely rewritten to
  2134. validate if a buffer is syntactically correct.  find-bibtex-duplicates
  2135. is no longer a function itself but was moved into
  2136. validate-bibtex-buffer.
  2137.  
  2138. *** Cleaning a BibTeX entry tests, if necessary fields are there.
  2139. E.g., if you tell bibtex-mode to include a crossref entry, some fields
  2140. are optional which would be required without the crossref entry.  If
  2141. you now leave the crossref entry empty and do a bibtex-clean-entry
  2142. with some now required fields left empty, version 2.0 of bibtex.el
  2143. complains about the absence of these fields, whereas version 1.3
  2144. didn't.
  2145.  
  2146. *** Default value for variables bibtex-maintain-sorted-entries and
  2147. bibtex-sort-ignore-string-entries is now t.
  2148.  
  2149. *** All interactive functions are renamed to begin with `bibtex-'.
  2150.  
  2151. *** Keybindings with \C-c\C-e entry changed for unification.  Often
  2152. used reference types are now on control-modified keys, mediocre used
  2153. types are on unmodified keys, seldom used types are on shift-modified
  2154. keys and almost never used types on meta-modified keys.
  2155.  
  2156. * Configuration Changes in Emacs 19.29
  2157.  
  2158. ** Emacs now uses directory /usr/local/share for most of its installed
  2159. files.  This follows a GNU convention for directory usage.
  2160.  
  2161. ** The option --with-x11 is no longer supported.
  2162. X11 is the only version of X that Emacs 19.29 supports;
  2163. use --with-x if you need to request X support explicitly.
  2164. (Normally this should not be necessary, since configure should
  2165. automatically enable X support if X is installed on your machine.)
  2166.  
  2167. ** If you use the site-init.el file to set the variable
  2168. mail-host-address to a string in the dumped Emacs, that string becomes
  2169. the default host address for initializing user-mail-address.
  2170. It is used instead of the value of (system-name).
  2171.  
  2172. * Lisp-Level Changes in Emacs 19.29
  2173.  
  2174. ** Basic Lisp
  2175.  
  2176. *** The range of integer values is now at least 2**28 on all machines.
  2177. This means the maximum size of a buffer is at least 2**27-1,
  2178. or 134,217,727.
  2179.  
  2180. *** You can now use Common Lisp syntax for the backquote and comma
  2181. macros.  Thus, you can now write `(x ,y z) instead of (` (x (, y) z)).
  2182.  
  2183. The old syntax is still accepted.
  2184.  
  2185. *** The new function rassoc is like assoc, except that it compares the
  2186. key against the cdr of each alist element, where assoc would compare
  2187. it against the car of each alist element.
  2188.  
  2189. *** The new function unintern deletes a symbol from an obarray.  The
  2190. first argument can be the symbol to delete, or a string giving its
  2191. name.  The second argument specifies the obarray (nil means the
  2192. current default obarray).
  2193.  
  2194. If the specified symbol is not in the obarray, or if there's no symbol
  2195. in the obarray matching the specified string, unintern does nothing
  2196. and returns nil.  If it does delete a symbol, it returns t.
  2197.  
  2198. *** You can specify an alternative read function for use by load and
  2199. eval-region by binding the variable load-read-function to some other
  2200. function.  This function should accept one argument just like read.
  2201. If load-read-function is nil, load and eval-region use ordinary read.
  2202.  
  2203. *** The new function `type-of' takes any object as argument, and
  2204. returns a symbol identifying the type of that object--one of `symbol',
  2205. `integer', `float', `string', `cons', `vector', `marker', `overlay',
  2206. `window', `buffer', `subr', `compiled-function',
  2207. `window-configuration', `process'.
  2208.  
  2209. *** When you use eval-after-load for a file that is already loaded, it
  2210. executes the FORM right away.  As before, if the file is not yet
  2211. loaded, it arranges to execute FORM if and when the file is loaded
  2212. later.  The result is: if you have called eval-after-load for a file,
  2213. and if that file has been loaded, then regardless of the order of
  2214. these two events, the specified form has been evaluated.
  2215.  
  2216. *** The Lisp construct #@NUMBER now skips the next NUMBER characters,
  2217. treating them as a comment.
  2218.  
  2219. You would not want to use this in a file you edit by hand, but it is
  2220. useful for commenting out parts of machine-generated files.
  2221.  
  2222. *** Two new functions, `plist-get' and `plist-put',
  2223. allow you to modify and retrieve values from lists formatted as property-lists.
  2224. They work like `get' and `put', but operate on any list.
  2225. `plist-put' returns the modified property-list; you must store it
  2226. back where you got it.
  2227.  
  2228. *** The new function add-to-list is called with two elements,
  2229. a variable that holds a list and a new element.
  2230. It adds the element to the list unless it is already present.
  2231. It compares elements using `equal'.  Here is an example:
  2232.  
  2233. (setq foo '(a b)) => (a b)
  2234.  
  2235. (add-to-list 'foo 'c) => (c a b)
  2236.  
  2237. (add-to-list 'foo 'b) => (c a b)
  2238.  
  2239. foo => (c a b)
  2240.  
  2241. ** Changes in compilation.
  2242.  
  2243. Functions and variables loaded from a byte-compiled file
  2244. now refer to the file for their doc strings.
  2245.  
  2246. This has a few consequences:
  2247.  
  2248. -- Loading the file is faster and uses less memory.
  2249. -- Reference to doc strings is a little slower (the same speed
  2250.    as reference to the doc strings of primitive and preloaded functions).
  2251. -- The compiled files will not work in old versions of Emacs.
  2252. -- If you move the compiled file after loading it, Emacs can no longer
  2253.    find these doc strings.
  2254. -- If you alter the compiled file (such as by compiling a new
  2255.    version), then further access to documentation strings will get
  2256.    nonsense results.
  2257.  
  2258. The byte compiler now optionally supports lazy loading of compiled
  2259. functions' definitions.  If you enable this feature when you compile,
  2260. loading the compiled file does not actually bring the function
  2261. definitions into core.  Instead it creates references to the compiled
  2262. file, and brings each function's definition into core the first time
  2263. you call that function, or when you force it with the new function
  2264. `fetch-bytecode'.
  2265.  
  2266. Using the lazy loading feature has a few consequences:
  2267.  
  2268. -- Loading the file is faster and uses less memory.
  2269. -- Calling any function in the file for the first time is slower.
  2270. -- If you move the compiled file after loading it, Emacs can no longer
  2271.    find the function definitions.
  2272. -- If you alter the compiled file (such as by compiling a new
  2273.    version), then further access to functions not already loaded
  2274.    will get nonsense results.
  2275.  
  2276. To enable the lazy loading feature, set up a non-nil file local
  2277. variable binding for the variable `byte-compile-dynamic' in the Lisp
  2278. source file.  For example, put this on the first line:
  2279.  
  2280.     -*-byte-compile-dynamic: t;-*-
  2281.  
  2282. It's a good idea to use the lazy loading feature for a file that
  2283. contains many functions, most of which are not actually used by a
  2284. given user in a given session.
  2285.  
  2286. To turn off the basic feature of referring to the file for doc
  2287. strings, set byte-compile-dynamic-docstrings to nil.  You can do this
  2288. globally, or for one source file by adding this to the first line:
  2289.  
  2290.     -*-byte-compile-dynamic-docstrings: nil;-*-
  2291.  
  2292. ** Strings
  2293.  
  2294. *** Do not pass integer arguments to `concat' (or `vconcat' or
  2295. `append').  We are phasing out the old unrecommended support for
  2296. integers as arguments to these functions, in preparation for treating
  2297. numbers as single characters in a future release.  To concatenate
  2298. numbers in string form, use `number-to-string' first, or rewrite the
  2299. call to use `format' instead of `concat'.
  2300.  
  2301. *** The new function match-string returns the string of text matched at
  2302. the given parenthesized expression by the last regexp search, or nil
  2303. if there was no match.  If the last match was by `string-match' on a
  2304. string, the string must be given.  Therefore, this function can be
  2305. used in place of `buffer-substring' and `substring', when using
  2306. `match-beginning' and `match-end' to find match positions.
  2307.  
  2308.    (match-string N)   or   (match-string N STRING)
  2309.  
  2310. *** The function replace-match now accepts an optional fourth argument,
  2311. STRING.  Use this after performing string-match on STRING, to replace
  2312. the portion of STRING that was matched.  When used in this way,
  2313. replace-match returns a newly created string which is the same as
  2314. STRING except for the matched portion.
  2315.  
  2316. *** The new function buffer-substring-no-properties
  2317. is like buffer-substring except that the string it returns
  2318. has no text properties.
  2319.  
  2320. *** The function `equal' now considers two strings to be different
  2321. if they don't have the same text properties.
  2322.  
  2323. ** Completion
  2324.  
  2325. *** all-completions now takes an optional fourth argument.
  2326. If that argument is non-nil, completions that start with a space
  2327. are ignored unless the initial string also starts with a space.
  2328. (This used to happen unconditionally.)
  2329.  
  2330. ** Local Variables
  2331.  
  2332. *** Local hook variables.
  2333.  
  2334. There is now a clean way to give a hook variable a buffer-local value.
  2335. Call the function `make-local-hook' to do this.
  2336.  
  2337. Once a hook variable is buffer-local, you can add hooks to it either
  2338. globally or locally.  run-hooks runs the local hook functions
  2339. of the current buffer, then all the global hook functions.
  2340.  
  2341. The functions add-hook and remove-hook take an additional optional
  2342. argument LOCAL which says whether to add (or remove) a local hook
  2343. function or a global one.
  2344.  
  2345. Local hooks use t as an element of the (local) value of the hook
  2346. variable as a flag meaning to use the global value also.
  2347.  
  2348. *** The new function local-variable-p tells you whether a particular
  2349. variable is buffer-local in the current buffer or a specified buffer.
  2350.  
  2351. ** Editing Facilities
  2352.  
  2353. *** The function copy-region-as-kill no longer sets this-command;
  2354. as a result, a following kill command will not normally append
  2355. to the text saved by copy-region-as-kill.
  2356.  
  2357. *** Regular expression searching and matching no longer performs full
  2358. Posix backtracking by default.  They now stop with the first match found
  2359. instead of looking for the longest match--just as they did in Emacs 18.
  2360. The reason for this change is to get higher speed.
  2361.  
  2362. There are new functions you can use if you really want to search or
  2363. match with Posix behavior: posix-search-forward,
  2364. posix-search-backward, posix-looking-at, and posix-string-match.  Call
  2365. these just like re-search-forward, re-search-backward, looking-at, and
  2366. string-match.
  2367.  
  2368. ** Files
  2369.  
  2370. *** The new variable `format-alist' defines file formats,
  2371. which are ways of translating between the data in a file and things
  2372. (text, text-properties, and possibly other information) in a buffer.
  2373.  
  2374. `format-alist' has one element for each format.  Each element is a
  2375. list like this:
  2376.   (NAME DOC-STRING REGEXP FROM-FN TO-FN MODIFY MODE-FN)
  2377. containing the name of the format, a documentation string, a regular
  2378. expression which is used to recognize files in that format, a decoding
  2379. function, an encoding function, a flag that indicates whether the
  2380. encoding function modifies the buffer, and a mode function.
  2381.  
  2382. FROM-FN is called to decode files in that format; it gets two args, BEGIN 
  2383.         and END, and can make any modifications it likes, returning the new
  2384.         end position.  It must make sure that the beginning of the file no
  2385.     longer matches REGEXP, or else it will get called again.
  2386. TO-FN   is called to encode a region into that format; it is also passed BEGIN
  2387.         and END, and either returns a list of annotations as in
  2388.         `write-region-annotate-functions', or modifies the region and returns
  2389.         the new end position.
  2390. MODIFY, if non-nil, means the TO-FN modifies the region.  If nil, TO-FN may
  2391.         not make any changes and should return a list of annotations.
  2392.  
  2393. `insert-file-contents' checks the beginning of the file that it is
  2394. inserting to see if it matches one of the regexps.  If so, then it
  2395. calls the decoding function, and then looks for another match.  When
  2396. visiting a file, it also calls the mode function, and sets the
  2397. variable `buffer-file-format' to the list of formats that the file
  2398. used.
  2399.  
  2400. `write-region' calls the encoding functions for each format in
  2401. `buffer-file-format' before it writes the file.  To save a file in a
  2402. different format, either set `buffer-file-format' to a different
  2403. value, or call the new function `format-write-file'.
  2404.  
  2405. Since some encoding functions may be slow, you can request that
  2406. auto-save use a format different from the buffer's default by setting
  2407. the variable `auto-save-file-format' to the desired format.  This will
  2408. determine the format of all auto-save files.
  2409.  
  2410. *** The new function file-ownership-preserved-p tells you whether
  2411. deleting a file and recreating it would keep the file's owner
  2412. unchanged.
  2413.  
  2414. *** The new function file-regular-p returns t if a file
  2415. is a "regular" file (not a directory, symlink, named pipe,
  2416. terminal, or other I/O device).
  2417.  
  2418. *** The new function file-name-sans-extension discards the extension
  2419. of a file name.  You call it with a file name, and returns a string
  2420. lacking the extension.
  2421.  
  2422. *** The variable path-separator is a string which says which
  2423. character separates directories in a search path.  It is ":"
  2424. for Unix and GNU systems, ";" for MSDOG and Windows NT.
  2425.  
  2426. ** Commands and Key Sequences
  2427.  
  2428. *** Key sequences consisting of C-c followed by {, }, <, >, : or ; are
  2429. now reserved for major modes.  Sequences consisting of C-c followed by
  2430. any other punctuation character are now meant for minor modes.  We don't
  2431. plan to convert all existing major modes to stop using those sequences,
  2432. but we hope to keep them to a minimum.
  2433.  
  2434. *** When the post-command-hook or the pre-command-hook gets an error, the error
  2435. is silently ignored.  Emacs no longer sets the hook variable to nil when this
  2436. happens.  Meanwhile, the hook functions can now alter the hook variable in
  2437. a normal fashion; there is no need to do anything special.
  2438.  
  2439. *** define-key, lookup-key, and various other functions for changing or
  2440. looking up key bindings now let you write an event type with a list
  2441. like (ctrl meta newline) or (meta ?d), as in XEmacs.  (ctrl meta newline)
  2442. is equivalent to the event type symbol C-M-newline, and (meta ?d)
  2443. is equivalent to the character ?\M-d.
  2444.  
  2445. *** The function event-convert-list converts a list such as
  2446. (meta ?d) into the corresponding event type (a symbol or integer).
  2447.  
  2448. *** In an interactive spec, `k' means to read a key sequence.  In this
  2449. key sequence, upper case characters and shifted function keys which
  2450. have no bindings are converted to lower case if that makes them
  2451. defined.
  2452.  
  2453. The new interactive code `K' reads a key sequence similarly, but does
  2454. not convert the last event.  `K' is useful for reading a key sequence
  2455. to be given a binding.
  2456.  
  2457. *** The variable overriding-local-map now has no effect on the menu bar
  2458. display unless overriding-local-map-menu-flag is non-nil.  This is why
  2459. incremental search no longer temporarily changes the menu bars.
  2460.  
  2461. Note that overriding-local-map does still affect the execution of key
  2462. sequences entered using the menu bar.  So if you use
  2463. overriding-local-map, and a menu bar key sequence comes in, you should
  2464. make sure to clear overriding-local-map before that key sequence gets
  2465. looked up and executed.  But this is what you'd normally do anyway:
  2466. programs that use overriding-local-map normally exit and "put back"
  2467. any event such as menu-bar that they do not handle specially.
  2468.  
  2469. *** The new variable `overriding-terminal-local-map' is like
  2470. overriding-local-map, but is specific to a single terminal.
  2471.  
  2472. *** delete-frame events.
  2473.  
  2474. When you use the X window manager's "delete window" command, this now
  2475. generates a delete-frame event.  The standard definition of this event
  2476. is a command that deletes the frame that received the event, and kills
  2477. Emacs when the last visible or iconified frame is deleted.  You can
  2478. rebind the event to some other command if you wish.
  2479.  
  2480. *** Two new types of events, iconify-frame and make-frame-visible,
  2481. indicate that the user iconified or deiconified a frame with the
  2482. window manager.  Since the window manager has already done the work,
  2483. the default definition for both event types in Emacs is to do nothing.
  2484.  
  2485. ** Frames and X
  2486.  
  2487. *** Certain Lisp variables are now local to an X terminal (in other
  2488. words, all the screens of a single X server).  The value in effect, at
  2489. any given time, is the one that belongs to the terminal of the
  2490. selected frame.  The terminal-local variables are
  2491. default-minibuffer-frame, system-key-alist, defining-kbd-macro, and
  2492. last-kbd-macro.  There is no way for Lisp programs to create others.
  2493.  
  2494. The terminal-local variables cannot be buffer-local.
  2495.  
  2496. *** When you create an X frame, for the `top' and `left' frame
  2497. parameters, you can now use values of the form (+ N) or (- N), where N
  2498. is an integer.  (+ N) means N pixels to the right of the left edge of
  2499. the screen and (- N) means N pixels to the left of the right edge.  In
  2500. both cases, N may be zero (exactly at the edge) or negative (putting
  2501. the window partly off the screen).
  2502.  
  2503. The function x-parse-geometry can return values of these forms
  2504. for certain inputs.
  2505.  
  2506. *** The variable menu-bar-file-menu has been renamed to
  2507. menu-bar-files-menu to match the actual item that appears in the menu.
  2508. (All the other such variable names do match.)
  2509.  
  2510. *** The new function active-minibuffer-window returns the minibuffer window
  2511. currently active, or nil if none is now active.
  2512.  
  2513. *** In the functions next-window, previous-window, next-frame,
  2514. previous-frame, get-buffer-window, get-lru-window, get-largest-window
  2515. and delete-windows-on, if you specify 0 for the last argument,
  2516. it means to consider all visible and iconified frames.
  2517.  
  2518. *** When you set a frame's cursor type with modify-frame-parameters,
  2519. you can now specify (bar . INTEGER) as the cursor type.  This stands
  2520. for a bar cursor of width INTEGER.
  2521.  
  2522. *** The new function facep returns t if its argument is a face name
  2523. (or if it is a vector such as is used internally by the Lisp code
  2524. to represent a face).
  2525.  
  2526. *** Each frame can now have a buffer-predicate function,
  2527. which is the `buffer-predicate' frame parameter.
  2528. When `other-buffer' looks for an alternative buffer, it considers
  2529. only the buffers that fit the selected frame's buffer predicate (if it
  2530. has one).  This is useful for applications that make their own frames.
  2531.  
  2532. *** When you create an X frame, you can now specify the frame parameter
  2533. `display'.  This says which display to put the frame on.  The value
  2534. should be a display name--a string of the form
  2535. "HOST:DPYNUMBER.SCREENNUMBER".
  2536.  
  2537. The functions x-server-... and x-display-... now take an optional
  2538. argument which specifies the display to ask about.  You can use either
  2539. a display name string or a frame.  A value of nil stands for the
  2540. selected frame.
  2541.  
  2542. To close the connection to an X display, use the function
  2543. x-close-connection.  Specify which display with a display name.  You
  2544. cannot close the connection if Emacs still has frames open on that
  2545. display.
  2546.  
  2547. x-display-list returns a list indicating which displays Emacs has
  2548. connections to.  Its elements are display names (strings).
  2549.  
  2550. *** The icon-type frame parameter may now be a file name.
  2551. Then the contents of that file specify the icon bitmap to use
  2552. for that frame.
  2553.  
  2554. *** The title of an Emacs frame, displayed by most window managers, is
  2555. set from frame-title-format or icon-title-format.  These have the same
  2556. structure as mode-line-format.
  2557.  
  2558. *** x-display-grayscale-p is a new function that returns non-nil if
  2559. your X server can display shades of gray.  Currently it returns
  2560. non-nil for color displays (because they can display shades of gray);
  2561. we may change it in the next version to return nil for color displays.
  2562.  
  2563. *** The frame parameter scroll-bar-width specifies the width of the
  2564. scrollbar in pixels.
  2565.  
  2566. ** Buffers
  2567.  
  2568. *** Creating a buffer with get-buffer-create does not obey
  2569. default-major-mode.  That variable is now handled in a separate
  2570. function, set-buffer-major-mode.  get-buffer-create and generate-new-buffer
  2571. always leave the newly created buffer in Fundamental mode.
  2572.  
  2573. Creating a new buffer by visiting a file or with switch-to-buffer,
  2574. pop-to-buffer, and similar functions does call set-buffer-major-mode
  2575. to select the default major mode specified with default-major-mode.
  2576.  
  2577. *** You can now create an "indirect buffer".  An indirect buffer shares
  2578. its text, including text properties, with another buffer (the "base
  2579. buffer"), but has its own major mode, local variables, overlays, and
  2580. narrowing.  An indirect buffer has a name of its own, distinct from
  2581. those of the base buffer and all other buffers.  An indirect buffer
  2582. cannot itself be visiting a file (though its base buffer can be).
  2583. The base buffer cannot itself be indirect.
  2584.  
  2585. Use (make-indirect-buffer BASE-BUFFER NAME) to make an indirect buffer
  2586. named NAME whose base is BASE-BUFFER.  If BASE-BUFFER is an indirect
  2587. buffer, its base buffer is used as the base for the new buffer.
  2588.  
  2589. You can make an indirect buffer current, or switch to it in a window,
  2590. just as you would a non-indirect buffer.
  2591.  
  2592. The function buffer-base-buffer, given an indirect buffer, returns its
  2593. base buffer.  It returns nil when given an ordinary buffer (not
  2594. indirect).
  2595.  
  2596. The library `noutline' has versions of Outline mode and Outline minor
  2597. mode which let you display different parts of the outline in different
  2598. indirect buffers.
  2599.  
  2600. ** Subprocesses
  2601.  
  2602. *** The functions call-process and call-process-region now allow
  2603. you to direct error message output from the subprocess into a
  2604. separate destination, instead of mixing it with ordinary output.
  2605. To do this, specify for the third argument, BUFFER, a list of the form
  2606.   (BUFFER-OR-NAME ERROR-DESTINATION)
  2607. BUFFER-OR-NAME specifies where to put ordinary output; it should
  2608. be a buffer or buffer name, or t, nil or 0.  This is what would
  2609. have been the BUFFER argument, ordinarily.
  2610.  
  2611. ERROR-DESTINATION specifies where to put the error output.
  2612. nil means discard it, t means mix it with the ordinary output,
  2613. and a string specifies a file name to write this output into.
  2614.  
  2615. You can't specify a buffer to put the error output in; that is not
  2616. easy to implement directly.  You can put the error output into a
  2617. buffer by sending it to a temporary file and then inserting the file
  2618. into a buffer.
  2619.  
  2620. *** Comint mode changes:
  2621.  
  2622. **** The variable comint-completion-addsuffix can also be a cons pair
  2623. of the form (DIRSUFFIX . FILESUFFIX), where DIRSUFFIX and FILESUFFIX are
  2624. strings added on unambiguous or exact completion of directories and file
  2625. names, respectively.
  2626.  
  2627. ** Text properties
  2628.  
  2629. *** You can now specify which values of the `invisible' property
  2630. make text invisible in a given buffer.  The variable
  2631. `buffer-invisibility-spec', which is always local in all buffers,
  2632. controls this.
  2633.  
  2634. If its value is t, then any non-nil `invisible' property makes
  2635. a character invisible.
  2636.  
  2637. If its value is a list, then a character is invisible if its
  2638. `invisible' property value appears as a member of the list, or if it
  2639. appears as the car of a member of the list.
  2640.  
  2641. When the `invisible' property value appears as the car of a member of
  2642. the `buffer-invisibility-spec' list, then the cdr of that member has
  2643. an effect.  If it is non-nil, then an ellipsis appears in place of the
  2644. character.  (This happens only for the *last* invisible character in a
  2645. series of consecutive invisible characters, and only at the end of a
  2646. line.)
  2647.  
  2648. If a character's `invisible' property is a list, then Emacs checks each
  2649. element of the list against `buffer-invisibility-spec'.  If any element
  2650. matches, the character is invisible.
  2651.  
  2652. *** The command `list-text-properties-at' shows what text properties
  2653. are in effect at point.
  2654.  
  2655. *** Frame objects now exist in Emacs even on systems that don't support
  2656. X Windows.  You can create multiple frames, and switch between them
  2657. using select-frame.  The selected frame is actually displayed on your
  2658. terminal; other frames are not displayed at all.  The selected frame
  2659. number appears in the mode line after `Emacs', except for frame 1.
  2660.  
  2661. Switching frames on ASCII terminals is therefore more or less
  2662. equivalent to switching between different window configurations.
  2663.  
  2664. *** The new variable window-size-change-functions holds a list of
  2665. functions to be called if window sizes change (or if windows are
  2666. created or deleted).  The functions are called once for each frame on
  2667. which changes have occurred, with the frame as the sole argument.
  2668. This takes place shortly before redisplay.
  2669.  
  2670. *** The modification hook functions of overlays now work differently.
  2671. They are called both before and after each change.  This makes it
  2672. possible for the functions to determine exactly what the change was.
  2673.  
  2674. This change affects three overlay properties: the modification-hooks
  2675. property, a list of functions called for deletions overlapping the
  2676. overlay's range and for insertions inside it; the
  2677. insert-in-front-hooks, a list of functions called for insertions at
  2678. the beginning of the overlay; and the insert-behind-hooks, a list of
  2679. functions called for insertions at the end of the overlay.
  2680.  
  2681. Each function is called both before and after each change that it
  2682. applies to.  Before the change, it is called with four arguments:
  2683.     (funcall FUNCTION OVERLAY nil START END)
  2684. START and END are the same arguments that the before-change-functions
  2685. receive.
  2686.  
  2687. After the change, each function is called with five arguments:
  2688.     (funcall FUNCTION OVERLAY t START END OLDSIZE)
  2689. The last arguments, START and END and OLDSIZE,
  2690. are the same arguments that the after-change-functions receive.
  2691.  
  2692. This means the function must accept either four or five arguments.
  2693.  
  2694. *** You can set defaults for text-properties with the new variable
  2695. `default-text-properties'.  Its value is a property list; the values
  2696. specified there are used whenever a character (or its category) does
  2697. not specify a value.
  2698.  
  2699. *** The `face' property of a character or an overlay can now be a list
  2700. of face names.  Formerly it had to be just one face name.
  2701.  
  2702. *** Changes in handling the `intangible' text property.
  2703.  
  2704. **** If inhibit-point-motion-hooks is non-nil, then `intangible' properties
  2705. are ignored.
  2706.  
  2707. **** Moving to just before a stretch of intangible text
  2708. is no longer special in any way.  Point stays at that place.
  2709.  
  2710. **** When you move point backwards into the midst of intangible text,
  2711. point moves back to the beginning of that text.  (It used to move
  2712. forward to the end of that text, which was not very useful.)
  2713.  
  2714. **** When moving across intangible text, Emacs stops wherever the
  2715. property value changes.  So if you have two stretches of intangible
  2716. text, with different non-nil intangible properties, it is possible to
  2717. place point between them.
  2718.  
  2719. ** Overlays
  2720.  
  2721. *** Overlay changes.
  2722.  
  2723. **** The new function previous-overlay-change returns the position of
  2724. the previous overlay start or end, before a specified position.  This
  2725. is the backwards-moving counterpart of next-overlay-change.
  2726.  
  2727. **** overlay-get now supports category properties on an overlay
  2728. the same way get-text-property supports them as text properties.
  2729.  
  2730. Specifically, if an overlay does not have the property PROP that you
  2731. ask for, but it does have a `category' property which is a symbol,
  2732. then that symbol's PROP property is used.
  2733.  
  2734. **** If an overlay has a non-nil `evaporate' property, it will be
  2735. deleted if it ever becomes empty (i.e., when it spans no characters).
  2736.  
  2737. **** If an overlay has a `before-string' and/or `after-string' property,
  2738. these strings are displayed at the overlay's endpoints.
  2739.  
  2740. ** Filling
  2741.  
  2742. *** The new variable fill-paragraph-function provides a way for major
  2743. modes to override the filling of paragraphs.  If this is non-nil,
  2744. fill-paragraph calls it as a function, passing along its sole
  2745. argument.  If the function returns non-nil, fill-paragraph assumes it
  2746. has done the job and simply passes on whatever value it returned.
  2747.  
  2748. The usual use of this feature is to fill comments in programming
  2749. language modes.
  2750.  
  2751. *** Text filling and justification changes:
  2752.  
  2753. **** The new variable use-hard-newlines can be used to make a
  2754. distinction between "hard" and "soft" newlines; the fill functions
  2755. will then never remove a newline that was manually inserted.  Hard
  2756. newlines are marked with a non-nil `hard' text-property.
  2757.  
  2758. **** The fill-column and left-margin can now be modified by text-properties.
  2759. Most lisp programs should use the new functions (current-fill-column) and
  2760. (current-left-margin), which return the proper values to use for the
  2761. current line.
  2762.  
  2763. **** There are new functions for dealing with margins: 
  2764.  
  2765. ***** Set-left-margin and set-right-margin (set the value for a region
  2766. and re-fill).  These functions take three arguments: two to specify
  2767. a region, and the desired margin value.
  2768.  
  2769. ***** Increase-left-margin, decrease-left-margin, increase-right-margin, and
  2770. decrease-right-margin (change settings relative to current values, and
  2771. re-fill).
  2772.  
  2773. ***** move-to-left-margin moves point there, optionally adding
  2774. indentation or changing tabs to spaces in order to make that possible.
  2775. beginning-of-line-text also moves past the fill-prefix and any
  2776. indentation added to center or right-justify a line, to the beginning
  2777. of the text that the user actually typed.
  2778.  
  2779. ***** delete-to-left-margin removes any left-margin indentation, but
  2780. does not change the property.
  2781.  
  2782. **** The paragraph-movement functions look for the paragraph-start and
  2783. paragraph-separate regexps at the current left margin, not at the
  2784. beginning of the line.  This means that those regexps should NOT use ^
  2785. to anchor the search.  However, for backwards compatibility, a ^ at
  2786. the beginning of the regexp will be ignored, so most packages won't break.
  2787.  
  2788. **** justify-current-line is now capable of doing left, center, or
  2789. right justification as well as full justification.
  2790.  
  2791. **** The fill functions can do any kind of justification based on the new
  2792. `justification' text-property and `default-justification' variable,
  2793. or arguments to the functions.  They also have a new option which
  2794. defeats the normal removal of extra whitespace.
  2795.  
  2796. **** The new function `current-justification' returns the kind of
  2797. justification used for the current line.  The new function
  2798. `set-justification' can be used to change it, including re-justifying
  2799. the text of the region according to the new value.
  2800.  
  2801. **** Filling and auto-fill are disabled if justification is `none'.
  2802.  
  2803. **** The auto-fill-function is now called regardless of whether 
  2804. the fill-column has been exceeded; the function can determine on its
  2805. own whether filling (or justification) is necessary.
  2806.  
  2807. ** Processes
  2808.  
  2809. *** process-tty-name is a new function that returns the name of the
  2810. terminal that the process itself reads and writes on (not the name of
  2811. the pty that Emacs uses to talk with that terminal).
  2812.  
  2813. *** Errors in process filters and sentinels are now normally caught
  2814. automatically, so that they don't abort other Lisp programs.
  2815.  
  2816. Setting debug-on-error non-nil turns off this feature; then errors in
  2817. filters and sentinels are not caught.  As a result, they can invoke
  2818. the debugger, under the control of debug-on-error.
  2819.  
  2820. *** Emacs now preserves the match data around the execution of process
  2821. filters and sentinels.  You can use search and match functions freely
  2822. in filters and sentinels without explicitly bothering to save the
  2823. match data.
  2824.  
  2825. ** Display
  2826.  
  2827. *** The variable message-log-max controls how messages are logged in the
  2828. "*Messages*" buffer.  An integer value means to keep that many lines;
  2829. t means to log with no limit; nil means disable message logging.  Lisp
  2830. code that calls `message' excessively (e.g. isearch.el) should probably
  2831. bind this variable to nil.
  2832.  
  2833. *** Display tables now have a new element, at index 261, specifying the
  2834. glyph to use for the separator between two side-by-side windows.  By
  2835. default, this is the vertical bar character `|'.  Probably the only
  2836. other useful character to store for this element is a space, to make
  2837. less visual separation between two side-by-side windows displaying
  2838. related information.
  2839.  
  2840. *** The new mode-line-format spec %c displays the current column number.
  2841.  
  2842. *** The new variable blink-matching-delay specifies how long to keep
  2843. the cursor at the matching open-paren, after you insert a close-paren.
  2844. This is useful mainly on systems which can wait for a fraction of a
  2845. second--you can then specify fractional values such as 0.5.
  2846.  
  2847. *** Faster processing of buffers with long lines
  2848.  
  2849. The new variable cache-long-line-scans determines whether Emacs
  2850. should use caches to handle long lines more quickly.  This variable is
  2851. buffer-local, in all buffers.
  2852.  
  2853. Normally, the line-motion functions work by scanning the buffer for
  2854. newlines.  Columnar operations (like `move-to-column' and
  2855. `compute-motion') also work by scanning the buffer, summing character
  2856. widths as they go.  This works well for ordinary text, but if the
  2857. buffer's lines are very long (say, more than 500 characters), these
  2858. motion functions will take longer to execute.  Emacs may also take
  2859. longer to update the display.
  2860.  
  2861. If cache-long-line-scans is non-nil, these motion functions cache
  2862. the results of their scans, and consult the cache to avoid rescanning
  2863. regions of the buffer until the text is modified.  The caches are most
  2864. beneficial when they prevent the most searching---that is, when the
  2865. buffer contains long lines and large regions of characters with the
  2866. same, fixed screen width.
  2867.  
  2868. When cache-long-line-scans is non-nil, processing short lines will
  2869. become slightly slower (because of the overhead of consulting the
  2870. cache), and the caches will use memory roughly proportional to the
  2871. number of newlines and characters whose screen width varies.
  2872.  
  2873. The caches require no explicit maintenance; their accuracy is
  2874. maintained internally by the Emacs primitives.  Enabling or disabling
  2875. the cache should not affect the behavior of any of the motion functions;
  2876. it should only affect their performance.
  2877.  
  2878. ** System Interface
  2879.  
  2880. *** The function user-login-name now accepts an optional
  2881. argument uid.  If the argument is non-nil, user-login-name
  2882. returns the login name for that user id.
  2883.  
  2884. *** system-name, user-name, user-full-name and user-real-name are now
  2885. variables as well as functions.  The variables hold the same values
  2886. that the functions would return.  The new variable multiple-frames
  2887. is non-nil if at least two non-minibuffer frames are visible.  These
  2888. variables may be useful in constructing the value of frame-title-format
  2889. or icon-title-format.
  2890.  
  2891. *** Changes in time-conversion functions.
  2892.  
  2893. **** The new function format-time-string takes a format string and a
  2894. time value.  It converts the time to a string, according to the format
  2895. specified.  You can specify what kind of conversion to use with
  2896. %-specifications.
  2897.  
  2898. **** The new function decode-time converts a time value into a list of
  2899. specific items of information: the year, month, day of week, day of
  2900. month, hour, minute and second.  (A time value is a list of two or
  2901. three integers.)
  2902.  
  2903. **** The new function encode-time converts specific items of time
  2904. information--the second, minute, hour, day, month, year, and time
  2905. zone--into a time value.
  2906.  
  2907. * Changes in Emacs 19.27
  2908.  
  2909. There are no changes; however, here is one bug fix made in 19.26 that users
  2910. think should be documented here.
  2911.  
  2912. ** SPC and DEL in Info now handle menus consistently.
  2913.  
  2914. SPC and DEL scroll through an entire subtree an Info manual.  Once you
  2915. scroll through a node far enough to reach a menu, SPC begins moving
  2916. into the subnodes of the menu, starting with the first one.  When you
  2917. reach the end of a subnode, SPC moves into the next subnode, and so
  2918. on.
  2919.  
  2920. DEL more or less scrolls through the same text in reverse order.
  2921.  
  2922. * User Editing Changes in Emacs 19.26
  2923.  
  2924. ** In the X toolkit version, if you click on a menu bar item and
  2925. release the button quickly outside the menu, the menu remains visible
  2926. until you click or type something else.  If you click on the menu, you
  2927. select from the menu.  Any other mouse click makes the menu disappear.
  2928. Keyboard input gets rid of the menu and then is processed normally.
  2929.  
  2930. "Quickly" means within double-click-time milliseconds.
  2931.  
  2932. ** The C-x 5 commands to select a buffer in "another frame" now use an
  2933. existing iconified frame, if any, deiconifying it.  They also raise
  2934. the frame.
  2935.  
  2936. ** Region highlighting on a black-and-white-only display now uses
  2937. underlining.  Inverse-video had the problem that you couldn't see
  2938. the cursor.
  2939.  
  2940. ** You can now change the height of a window by pressing mouse-1 on
  2941. the mode line and dragging it up and down.
  2942.  
  2943. ** If you set the environment variable LC_CTYPE to iso_8859_1 or
  2944. iso-8859-1, Emacs automatically sets up for display and syntactic
  2945. handling of the ISO Latin-1 character set.
  2946.  
  2947. This does not automatically load any of the packages for input of
  2948. these characters, because it's not yet clear what is right to do.
  2949. You must still explicitly load either iso-transl or iso-acc.
  2950.  
  2951. ** For a read-only buffer that is also modified, the mode line now displays
  2952. %* instead of %%.
  2953.  
  2954. ** M-prior (scroll-other-window-down) is a new command that works like
  2955. M-next (and C-M-v) but scrolls in the opposite direction.
  2956.  
  2957. M-home moves to the beginning of the buffer, in the other window.
  2958. M-end moves to the end of the buffer, in the other window.  These two
  2959. commands, along with M-next and M-prior, form a series of commands for
  2960. moving around in the other window.
  2961.  
  2962. ** In change logs, the mail address is now delimited with <...> instead
  2963. of (...).
  2964.  
  2965. This makes it a little more convenient to extract the mail address for
  2966. use in mailing a message.
  2967.  
  2968. ** In Shell mode and other comint modes, C-a has now returned to
  2969. its ordinary meaning: move to the beginning of the line.
  2970. Use C-c C-a to move to the end of the prompt.
  2971.  
  2972. ** If you set mail-signature to t to cause automatic insertion of
  2973. your .signature file, you now get a -- before the signature.
  2974.  
  2975. ** Setting rmail-highlighted-headers to nil entirely turns off
  2976. highlighting in Rmail.  However, if your motivation for doing this is
  2977. that the highlighted text doesn't look good on your display, it might
  2978. be better to change the appearance of the `highlight' face.  Once
  2979. you've done that, you may find Rmail highlighting is useful.
  2980.  
  2981. ** In the calendar, mouse-2 is now used only for commands that apply to a date.
  2982. If you click it when not on a date, it gives an immediate error.
  2983.  
  2984. Mouse-3 in the calendar now gives a menu of commands that do not apply
  2985. to a particular date.
  2986.  
  2987. The D command displays diary entries from a specified diary file (not
  2988. your standard diary file).
  2989.  
  2990. ** In the gnus-uu package, the binding for gnus-uu-threaded-decode-and-view
  2991. is now C-c C-v C-d, not C-c C-v C-h.  Thus, C-c C-v C-h is now available
  2992. for asking for a list of the subcommands of C-c C-v.
  2993.  
  2994. ** You can now specify "who you are" for various Emacs packages by
  2995. setting just one variable, user-mail-address.  This currently applies
  2996. to posting news with GNUS and to making change log entries.  It may
  2997. apply to additional Emacs features in the future.
  2998.  
  2999. * Lisp-Level Changes in Emacs 19.26:
  3000.  
  3001. ** The function insert-char now takes an optional third argument
  3002. which, if non-nil, says the inserted characters should inherit sticky
  3003. text properties from the surrounding text.
  3004.  
  3005. ** The `diary' library has been renamed to `diary-lib'.  If you refer
  3006. to this library in your Lisp code, you must update the references.
  3007.  
  3008. ** Sending text to a subprocess can read input from subprocesses if it
  3009. has to wait because the destination subprocess's terminal input buffer
  3010. is full.
  3011.  
  3012. It was already possible in unusual occasions for this operation to
  3013. read subprocess input, but it did not happen very often.  It is now
  3014. more likely to happen.
  3015.  
  3016. ** last-nonmenu-event is now bound to t around filter functions and sentinels.
  3017. This is to ensure that y-or-n-p and yes-or-no-p use the keyboard by default.
  3018.  
  3019. ** In mode lines, %+ now displays as % for unmodified read-only
  3020. buffers.  It is now the same as %* except in the case of a modified
  3021. read-only buffer; in that case, %+ displays as *.
  3022.  
  3023. The old meaning of %+ is now available on %&.
  3024. It displays * for a modified buffer and - for an unmodified buffer,
  3025. regardless of read-only status.
  3026.  
  3027. ** You can now use `underline' in the color list of a face.
  3028. It serves as a last resort, and says to underline the face
  3029. (if previous color list elements can't be used).
  3030.  
  3031. ** The new function x-color-values returns the list of color values
  3032. for a given color name (a string).  The list contains three integers
  3033. which give the amounts of red, green and blue in the color: (R G B).
  3034.  
  3035. ** In run-at-time, 0 as the repeat interval means "don't repeat".
  3036.  
  3037. ** The variable trim-versions-without-asking has been renamed to
  3038. delete-old-versions.
  3039.  
  3040. ** The new function other-window-for-scrolling returns the choice of
  3041. other window for C-M-v to scroll.
  3042.  
  3043. ** Note that the function fceiling was mistakenly documented as fceil before.
  3044.  
  3045. * Changes in cc-mode.el in Emacs 19.26:
  3046.  
  3047. ** A new syntactic symbol has been added: substatement-open.  It
  3048.   defines the open brace of a substatement block.  These used to get:
  3049.   ((block-open ...) (substatement . ...)).
  3050.  
  3051.   Non-block substatement lines still get just ((substatement . ...))
  3052.  
  3053.   Note that the custom indent function c-adaptive-block-open has been
  3054.   removed as obsolete.
  3055.  
  3056. ** You can now specify the `hanginess' of closing braces.  See
  3057.   c-hanging-braces-alist.
  3058.  
  3059. ** Recognizes try and catch blocks in C++.  They are given the
  3060.   substatement syntactic symbol.
  3061.  
  3062. ** should be generally more forgiving about non-GNU standard top-level
  3063.   construct definition styles (i.e. where the function/class/struct
  3064.   opening brace does not start in column zero).
  3065.  
  3066.   If you hang the braces that open a top-level construct on the right
  3067.   edge, and you find you still need to define defun-open-prompt (Emacs
  3068.   19) please let me know.  Note that there may still be performance
  3069.   issues related to non-column zero opening braces.
  3070.  
  3071. ** c-macro-expand is put on C-c C-e
  3072.  
  3073. ** New style: "Default".  Resets indentation to those shipped with
  3074.   cc-mode.el.
  3075.  
  3076. ** internal defun c-indent-via-language-element has been renamed
  3077.   c-indent-line for compatibility with c-mode.el and awk-mode.
  3078.  
  3079. ** new buffer-local variable c-comment-start-regexp for (potential)
  3080.   flexibility in adding new modes based on cc-mode.el
  3081.  
  3082. * Changes in Emacs 19.25
  3083.  
  3084. The variable x-cross-pointer-shape (which didn't really exist) has
  3085. been renamed to x-sensitive-text-pointer-shape, and now does exist.
  3086.  
  3087. * Changes in Emacs 19.24
  3088.  
  3089. Here is a list of new Lisp packages introduced since 19.22.
  3090.  
  3091. derived.el        Define new major modes based on old ones.
  3092. dired-x.el        Extra Dired features.
  3093. double.el        New mode for conveniently inputting non-beyond chars.
  3094. easymenu.el        Create menus easily.
  3095. ediff.el        Snazzy diff interface.
  3096. foldout.el        A kind of outline mode designed for editing programs.
  3097. gnus-uu.el        UUdecode in GNUS buffers.
  3098. ielm.el            Interactively evaluate Lisp.
  3099.              This is a replacement for Lisp Interaction Mode.
  3100. iso-cvt.el        Conversion of beyond-ASCII characters between
  3101.              various different representations.
  3102. jka-compr.el        Automatic compression/decompression.
  3103. mldrag.el        Drag modeline to change heights of windows.
  3104. mail-hist.el        Provides history for headers of outgoing mail.
  3105. rsz-mini.el        Automatically resizing minibuffers.
  3106. s-region.el        Set region by holding shift.
  3107. skeleton.el        Templates for statement insertion.
  3108. soundex.el        Classifying words by how they sound.
  3109. tempo.el        Template insertion with hotspots.
  3110.  
  3111. * User Editing Changes in 19.23.
  3112.  
  3113. ** Emacs 19.23 uses Ispell version 3.
  3114.  
  3115. Previous Emacs 19 versions used Ispell version 4.  That version had
  3116. improvements in storing the dictionary compactly, but these are not
  3117. very important nowadays.  Meanwhile, in parallel to the work on Ispell
  3118. 4, many useful features were added to Ispell 3.  Until a few months
  3119. ago, the terms on Ispell 3 did not let us use it; but they have now
  3120. been changed, so now we are using it.  We are dropping Ispell 4.
  3121.  
  3122. ** Emacs 19.23 can run on MS-DOG.  See the file MSDOS in the same
  3123. directory as this file.
  3124.  
  3125. ** Emacs 19.23 can work with an X toolkit.  You must specify toolkit
  3126. operation when you configure Emacs: use the option
  3127. --with-x-toolkit=yes.  (This option uses code developed by Lucid;
  3128. thanks to Frederic Pierresteguy for helping to adapt it.)
  3129.  
  3130. ** Emacs now has dialog boxes; yes/no and y/n questions automatically
  3131. use them in commands invoked with the mouse.  For more information,
  3132. see below under "Lisp programming changes".
  3133.  
  3134. ** Menus now display the keyboard equivalents (if any) of the menu
  3135. commands in parentheses after the menu item.
  3136.  
  3137. ** Kill commands, used in a read-only buffer, now move point across
  3138. the text they would otherwise have killed.  This way, you can use
  3139. repeated kill commands to transfer text into the kill ring.
  3140.  
  3141. ** There is now a global mark ring in addition to the mark ring that is local
  3142. to each buffer.  The global mark ring stores positions in any buffer.  Any
  3143. time the mark is set and the current buffer is different from the last time
  3144. the mark was set, the new mark is pushed on the global mark ring as well.
  3145. The new command C-x C-SPC (pop-global-mark) pops the global mark ring and
  3146. jumps to the last mark pushed, first switching to that buffer.
  3147.  
  3148. ** Query Replace is now available in the Edit menu.
  3149.  
  3150. ** ESC no longer simply exits a Query Replace.  It now exits the Query
  3151. Replace and remains pending.  Thus, ESC A and M-A are now equivalent
  3152. in Query Replace.
  3153.  
  3154. To simply exit a Query Replace, type RET or Period.
  3155.  
  3156. ** M-mouse-2 now puts point at the end of the yanked secondary selection.
  3157.  
  3158. ** Mouse-1 in the mode line now simply selects the window above that
  3159. mode line.  Mouse-2 in the mode line selects that window and expands
  3160. it to fill the frame it is in.
  3161.  
  3162. ** You can now use mouse-2 in a Dired buffer or Tar mode buffer to find
  3163. a file you click on, in a compilation buffer to go to a particular
  3164. error message, and in a *Occur* buffer to go to a particular
  3165. occurrence.
  3166.  
  3167. (It was already possible to do likewise in Info and in completion list
  3168. buffers.)
  3169.  
  3170. What's more, the sensitive areas of the buffer now highlight when you
  3171. move the mouse over them.
  3172.  
  3173. ** In a completion list buffer, the command RET now chooses the completion
  3174. that is around or next to point.
  3175.  
  3176. ** If you specify the foreground color for the `mode-line' face, and
  3177. mode-line-inverse-video is non-nil, then the default background color
  3178. is the usual foreground color.
  3179.  
  3180. ** revert-buffer now preserves markers pointing within the unchanged
  3181. text (if any) at the beginning and end of the file.
  3182.  
  3183. ** Version control checkin and checkout preserve all markers if the
  3184. file does not contain any of the magic version header sequences that
  3185. are updated automatically by RCS and SCCS.  If such version headers
  3186. are present, checkin and checkout preserve a marker unless it comes
  3187. between two such sequences.  (So it's a good idea to put all the
  3188. header sequences close together.)
  3189.  
  3190. ** When a large deletion shuts off auto save temporarily in a buffer,
  3191. you can now turn it on again by saving the buffer with C-x C-s (as was
  3192. possible in Emacs 18).  You can also turn it on again with M-1 M-x
  3193. auto-save (as has been possible in Emacs 19).
  3194.  
  3195. ** C-x r d now runs the command delete-rectangle.
  3196.  
  3197. ** The new command imenu shows you a menu of interesting places in the
  3198. current buffer and lets you select one; then it moves point there.
  3199. The definition of interesting places depends on the major mode, but
  3200. typically this includes function definitions and such.  Normally,
  3201. imenu displays the menu in a buffer; but if you bind it to a mouse
  3202. event, it shows a mouse popup menu.
  3203.  
  3204. ** You can make certain chosen buffers, that normally appear in a
  3205. separate window, appear in special frames of their own.  To do this,
  3206. set special-display-buffer-names to a list of buffer names; any buffer
  3207. whose name is in that list automatically gets a special frame when it
  3208. is to be displayed in another window.
  3209.  
  3210. A good value to try is ("*compilation*" "*grep*" "*TeX Shell*").
  3211.  
  3212. More generally, you can set special-display-regexps to a list of regular
  3213. expressions; then each buffer whose name matches any of those regular
  3214. expressions gets its own frame.
  3215.  
  3216. The variable special-display-frame-alist specifies the frame
  3217. parameters for these frames.  It has a default value, so you don't
  3218. need to set it.
  3219.  
  3220. ** If you set sentence-end-double-space to nil, the fill commands
  3221. expect just one space at the end of a sentence.  (If you want the
  3222. sentence commands to accept single spaces, you must modify the regexp
  3223. sentence-end also.)
  3224.  
  3225. ** You can suppress the startup echo area message by adding text like
  3226. this to your .emacs file:
  3227.  
  3228. (setq inhibit-startup-echo-area-message "YOUR-LOGIN-NAME")
  3229.  
  3230. Simply setting inhibit-startup-echo-area-message to your login name is
  3231. not sufficient to inhibit the message; Emacs explicitly checks whether
  3232. .emacs contains an expression as shown above.  Your login name must
  3233. appear in the expression as a Lisp string constant.
  3234.  
  3235. This way, you can easily inhibit the message for yourself if you wish,
  3236. but thoughtless copying of your .emacs file will not inhibit the
  3237. message for someone else.
  3238.  
  3239. ** Outline minor mode now uses C-c C-o as a prefix instead of just C-c.
  3240.  
  3241. ** In Outline mode, hide-subtree is now C-c C-d.  (It was C-c C-h; but
  3242. that is now a conventional way to ask for help about C-c commands.)
  3243.  
  3244. ** There are two additional commands in Outline mode.
  3245. M-x hide-sublevels
  3246.   hides all headers except the topmost N levels.
  3247. M-x hide-other
  3248.   hides everything about the body that point is in
  3249.   plus the headers leading up from there to the top of the tree.
  3250.  
  3251. ** In iso-transl and iso-insert, the sequences for entering A-ring and
  3252. the AE ligature are now just A and E (plus the initial C-x 8 or Alt).
  3253. You used to have to enter AA or AE, after the C-x 8 prefix of course.
  3254. Likewise for lower case a-ring and ae.
  3255.  
  3256. ** iso-transl now defines convenient Alt keys as well as the C-x 8 prefix.
  3257. Instead of prefixing a sequence with C-x 8, you can add Alt to the
  3258. first character of the sequence.  For example, Alt-" a is now a way
  3259. to enter an a-umlaut.
  3260.  
  3261. ** CC mode is a greatly improved mode for C and C++.
  3262. See the following page.
  3263.  
  3264. ** tcl mode is a new major mode.  It provides features for
  3265. editing, indenting and running tcl programs.
  3266.  
  3267. ** Compilation minor mode lets you parse error messages in any buffer,
  3268. not just a normal compilation output buffer.  Type M-x
  3269. compilation-minor-mode to enable the minor mode; then C-c C-c jumps to
  3270. the source location for the error at point, as in the `*compilation*'
  3271. buffer.  If you use compilation-minor-mode in an Rlogin buffer, it
  3272. automatically accesses remote source files by ftp.
  3273.  
  3274. ** Comint and shell mode changes:
  3275.  
  3276. *** Comint modes (including Shell mode, GUD modes, etc.) now bind
  3277. C-M-l to the command comint-show-output.  This command scrolls the
  3278. buffer to show the last batch of output from the subprogram.
  3279.  
  3280. *** Completion in Comint modes now truly operates on the string before
  3281. point, rather than the word that point is within.
  3282.  
  3283. *** Comint mode file name completion ignores those files that end with a
  3284. string in the new variable comint-completion-fignore.  This variable's
  3285. default value is nil.
  3286.  
  3287. *** Shell mode uses the variable shell-completion-fignore to set
  3288. comint-completion-fignore.  The default value is nil, but some
  3289. people prefer ("~" "#" "%").
  3290.  
  3291. *** The function `comint-watch-for-password-prompt' can be used to 
  3292. suppress echoing when a subprocess asks for a password.  To use it,
  3293. do this:
  3294.  
  3295. (add-hook 'comint-output-filter-functions
  3296.       'comint-watch-for-password-prompt)
  3297.  
  3298. *** You can use M-x shell-strip-ctrl-m to strip ^M characters from
  3299. process output.
  3300.  
  3301. *** In Shell mode, TAB now completes environment variables, if possible,
  3302. and expands directory references.
  3303.  
  3304. *** You can use M-x comint-run to execute any program of your choice in
  3305. a comint mode.  Some programs such as shells, rlogin, and debuggers
  3306. have their own specialized modes; this command is one way to use
  3307. comint to run programs for which no such specialized mode exits.  (You
  3308. can also run a shell with M-x shell and run the program of your choice
  3309. under the shell--but that gives you the specializations of Shell
  3310. mode.)
  3311.  
  3312. ** When you run GUD (M-x gdb, M-x dbx, and so on), you can use TAB
  3313. to do file name completion in the minibuffer.
  3314.  
  3315. The "Complete" menu includes an item for directory expansion.
  3316.  
  3317. ** GUD working with future versions of GDB will permit TAB for
  3318. GDB-style symbol completion.  This will work with GDB 4.13.
  3319.  
  3320. ** Rmail no longer gets new mail automatically when you visit an Rmail
  3321. file specified by name--not even if it is your primary Rmail file.  To
  3322. get new mail, type `g'.  This feature is an advantage because you now
  3323. have a choice of whether to get new mail.  (This change actually
  3324. occurred in an earlier version, but wasn't listed here then, since it
  3325. made the code do what the documentation already said.)
  3326.  
  3327. ** Rmail now highlights certain fields automatically, when you use X
  3328. windows.  The variable rmail-highlighted-headers controls which
  3329. fields.
  3330.  
  3331. ** If you set rmail-summary-window-size to an integer, Rmail uses
  3332. a window that many lines high for the summary buffer.
  3333.  
  3334. ** rmail-input-menu is a new command that visits an Rmail file letting
  3335. you choose which file with a mouse menu.  rmail-output-menu is
  3336. similar; it outputs the current message, using a mouse menu to choose
  3337. which Rmail file.  These commands use the variables
  3338. rmail-secondary-file-directory and rmail-secondary-file-regexp.
  3339.  
  3340. ** The mh-e package has been changed substantially.
  3341. See the file ./MH-E-NEWS for details.
  3342.  
  3343. ** The calendar and diary have new features.
  3344.  
  3345. The menu bar for the calendar contains most of the calendar commands,
  3346. arranged into logical categories.
  3347.  
  3348. Mouse-2 now performs specific-date-related commands when clicked on a
  3349. date in the calendar window and common three-month-related commands
  3350. when clicked elsewhere in the calendar window.
  3351.  
  3352. You can set up colored/shaded highlighting of holidays, diary entry
  3353. dates, and today's date, by setting calendar-holiday-marker,
  3354. diary-entry-marker, and calendar-today-marker to a face instead of a
  3355. character.  Using a special face is now the default if you are using a
  3356. window system.
  3357.  
  3358. ** The appt package for displaying appointment reminders has new
  3359. features.
  3360.  
  3361. *** The appt alarm window stays for the full duration of
  3362. appt-display-duration.  It no longer disappears when you start typing
  3363. text.
  3364.  
  3365. *** You can change the way the appointment window is created/deleted by
  3366. setting the variables appt-disp-window-function and
  3367. appt-delete-window-function.
  3368.  
  3369. For instance, these variables can be set to functions that display
  3370. appointments in pop-up frames, which are lowered or iconified after
  3371. appt-display-duration seconds.
  3372.  
  3373. ** desktop.el can now save a list of buffer-local variables,
  3374. and saves more global ones.
  3375.  
  3376. ** Pascal mode has been completely rewritten.  It now features
  3377. completing of function names, variables and type definitions around
  3378. current point (like M-TAB does with lisp-symbols).  There's also an
  3379. outline mode (M-x pascal-outline) that hides the bodies of all
  3380. functions you're not working with.
  3381.  
  3382. ** Edebug has a number of changes:
  3383.  
  3384. *** Edebug syntax error reporting is improved.
  3385.  
  3386. *** Top-level forms and defining forms other than defun and defmacro may
  3387. now be debugged with Edebug.
  3388.  
  3389. *** Edebug specifications may now contain body, &define, name, arg or
  3390. arglist, def-body, and def-form, to support definitions.
  3391.  
  3392. *** edebug-all-defuns is renamed to edebug-all-defs.
  3393. def-edebug-form-spec is replaced by def-edebug-form whose arguments
  3394. are unevaluated.  The old names are still available for now.
  3395.  
  3396. *** Frequency counts and coverage data may be displayed for functions being
  3397. debugged.
  3398.  
  3399. *** A global break condition is now checked at every stop point.
  3400.  
  3401. *** The previous condition at a breakpoint may now be edited.
  3402.  
  3403. *** A new "next" mode stops only after expression evaluation.
  3404.  
  3405. *** A new command, top-level-nonstop, does not even stop for unwind-protect,
  3406. as top-level would.
  3407.  
  3408. * Changes in CC mode in Emacs 19.23.
  3409.  
  3410. `cc-mode' provides ANSI C, K&R C, and ARM C++ language editing.  It
  3411. represents the merge of c++-mode.el and c-mode.el.  cc-mode provides a
  3412. new, more flexible indentation engine so that indentation
  3413. customization is more intuitive.  There are two steps to calculating
  3414. indentation: first, CC mode analyzes the line for syntactic content,
  3415. then based on this content it applies user defined offsets and adds
  3416. this offset to the indentation of some previous line.
  3417.  
  3418. The syntactic analysis determines if the line describes a `statement',
  3419. `substatement', `class-open', `member-init-intro', etc.  These are
  3420. described in detail with C-h v c-offsets-alist.  You can change the
  3421. offsets interactively with C-c C-o (c-set-offsets), or
  3422. programmatically in your c-mode-common-hook, which is run both by
  3423. c-mode and c++-mode.  You can also set up "styles" in the same way
  3424. that you could with c-mode.el.   The variable c-basic-offset controls
  3425. the basic offset given to a level of indentation.
  3426.  
  3427. If, for example, you wanted to change this style:
  3428.  
  3429. int foo (int i) 
  3430. {
  3431.     switch (i) {
  3432.     case 1:
  3433.         printf ("its a foo\n");
  3434.         break;
  3435.     default:
  3436.         printf ("don't know what it is\n");
  3437.         break;
  3438.     }
  3439. }
  3440.  
  3441. into this:
  3442.  
  3443. int foo (int i) 
  3444. {
  3445.     switch (i) {
  3446.       case 1:
  3447.         printf ("its a foo\n");
  3448.         break;
  3449.       default:
  3450.         printf ("don't know what it is\n");
  3451.         break;
  3452.     }
  3453. }
  3454.  
  3455. you could add the following to your .emacs file:
  3456.  
  3457. (defun my-c-mode-common-hook ()
  3458.   (c-set-offset 'case-label 2)
  3459.   (c-set-offset 'statement-case-intro 2))
  3460. (add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
  3461.  
  3462. ** New variables:
  3463.  
  3464. c-offsets-alist contains an association list of syntactic symbols and
  3465. their relative offsets.  Do a "C-h v c-offsets-alist" to get a list of
  3466. all syntactic symbols currently defined, and their meanings.  You
  3467. should not change this variable directly; use the supplied interface
  3468. commands c-set-offset and c-set-style.
  3469.  
  3470. c-mode-common-hook is run by both c-mode and c++-mode during their
  3471. common initializations.  You should put any customizations that are
  3472. the same for both C and C++ into this hook.
  3473.  
  3474. The variable c-strict-semantics-p is used mainly for debugging.  When
  3475. non-nil, CC mode signals an error if it returns a syntactic symbol
  3476. that can't be found in c-offsets-alist.
  3477.  
  3478. If you want CC mode to echo the syntactic analysis for a particular
  3479. line when you hit the TAB key, set c-echo-semantic-information-p to
  3480. non-nil.
  3481.  
  3482. c-basic-offset controls the standard amount of offset for a level of
  3483. indentation.  You can set a syntactic symbol's offset to + or - as a
  3484. short-hand for positive or negative c-basic-offset.
  3485.  
  3486. c-comment-only-line-offset lets you control indentation given to lines
  3487. which contain only a comment, in the case of C++ line style comments,
  3488. or the introduction to a C block comment.  Comment-only lines at
  3489. column zero can be anchored there independent of the indentation given
  3490. to other comment-only lines.
  3491.  
  3492. c-block-comments-indent-p controls the style of C block comment
  3493. re-indentation.  If you put leading stars in front of comment
  3494. continuation lines, you should set this variable to nil.
  3495.  
  3496. c-cleanup-list is a list describing certain C and C++ constructs to be
  3497. "cleaned up" as they are typed, but only when the auto-newline feature
  3498. is turned on.  In C++, make sure this variable contains at least
  3499. 'scope-operator so that double colons will not be separated by a
  3500. newline.
  3501.  
  3502. Colons (`:') and braces (`{` and `}') are special in C and C++.  For
  3503. certain constructs, you may like them to hang on the right edge of the
  3504. code, or you may like them to start a new line of code.  You can use
  3505. the two variables c-hanging-braces-alist and c-hanging-colons-alist
  3506. to control whether newlines are placed before and/or after colons and
  3507. braces when certain C and C++ constructs are entered.  For example,
  3508. you can control whether the colon that introduces a C++ member
  3509. initialization list hangs on the right edge, starts a new line, or has
  3510. no newlines either before or after it.
  3511.  
  3512. c-special-indent-hook is run after a line is indented by CC mode.  You
  3513. can perform any custom indentations here.
  3514.  
  3515. c-delete-function is the function that is called when a single
  3516. character is deleted with the c-electric-delete command (DEL).
  3517.  
  3518. c-electric-pound-behavior describes what happens when you enter the
  3519. `#' that introduces a cpp macro.
  3520.  
  3521. If c-tab-always-indent is neither t nor nil, then TAB inserts a tab
  3522. when within strings, comments, and cpp directives, but it reindents
  3523. the line unconditionally.
  3524.  
  3525. c-inhibit-startup-warnings-p inhibits warnings about any old
  3526. version of Emacs you might be running, which could be incompatible
  3527. with cc-mode.
  3528.  
  3529. ** There are two new minor-mode features in CC mode: auto-newline and
  3530. hungry-delete.  Auto-newline inserts newlines automatically as you
  3531. type certain constructs.  Hungry-delete consumes all preceding
  3532. whitespace (spaces, tabs, and newlines) when the delete key is hit.
  3533. You can toggle auto-newline on and off on a per-buffer basis by
  3534. hitting C-c C-a.  You can toggle hungry-delete on and off by hitting
  3535. C-c C-d.   You can toggle them both on and off together with C-c C-t.
  3536.  
  3537. ** Slash (`/') and star (`*') are now both electric characters.
  3538.  
  3539. ** New commands:
  3540.  
  3541. The new C-c C-o (c-set-offset) command can be used to interactively change
  3542. the offset for a particular syntactic symbol.
  3543.  
  3544. The new command C-c : (c-scope-operator) inserts the C++ scope operator in
  3545. c++-mode only.
  3546.  
  3547. The new command C-c C-q (c-indent-defun) indents the entire enclosing
  3548. top-level function or class.
  3549.  
  3550. The new command C-c C-s (c-show-semantic-information) echos the current
  3551. syntactic analysis without re-indenting the current line.
  3552.  
  3553. The new commands M-x c-forward-into-nomenclature and M-x
  3554. c-backward-into-nomenclature (currently otherwise unbound to a key
  3555. sequence), make movement easier when using the C++ variable naming
  3556. convention of VariableNamesWithoutUnderscoresButEachWordCapitalized.
  3557.  
  3558. ** Command from c-mode.el that have been renamed in cc-mode.el:
  3559.  
  3560.   electric-c-brace      => c-electric-brace
  3561.   electric-c-semi       => c-electric-semi&comma
  3562.   electric-c-sharp-sign => c-electric-pound
  3563.   mark-c-function       => c-mark-function
  3564.   electric-c-terminator => c-electric-colon
  3565.   indent-c-exp          => c-indent-exp
  3566.   set-c-style           => c-set-style
  3567.  
  3568. ** Variables from c-mode.el that are obsolete with cc-mode.el:
  3569.  
  3570.   c-indent-level
  3571.   c-brace-imaginary-offset
  3572.   c-brace-offset
  3573.   c-argdecl-indent
  3574.   c-label-offset
  3575.   c-continued-statement-offset
  3576.   c-continued-brace-offset
  3577.  
  3578. * Lisp programming changes in Emacs 19.23.
  3579.  
  3580. ** To pop up a dialog box, call x-popup-dialog.
  3581. It takes two arguments, POSITION and CONTENTS.
  3582.  
  3583. POSITION specifies which frame to place the dialog box over;
  3584. the dialog box always goes on the center of the frame.
  3585. POSITION may be a mouse event, a window, a frame,
  3586. or t meaning use the frame that the mouse is in.
  3587.  
  3588. CONTENTS specifies the contents of the dialog box.
  3589. It looks like a single pane of a popup menu:
  3590. (TITLE ITEM1 ITEM2 ...), where each ITEM has the form (STRING . VALUE).
  3591. The return value is VALUE from the chosen item.
  3592.  
  3593. An ITEM may also be just a string--that makes a nonselectable item.
  3594. An ITEM may also be nil--that means to put all preceding items
  3595. on the left of the dialog box and all following items on the right.
  3596. (By default, approximately half appear on each side.)
  3597.  
  3598. If your Emacs is not using an X toolkit, then it cannot display a
  3599. real dialog box; so instead it displays a pop-up menu in the center
  3600. of the frame.
  3601.  
  3602. ** y-or-n-p, yes-or-no-p and map-y-or-n-p now use menus or dialog boxes
  3603. to ask their question(s) if the command that is running was reached by
  3604. a mouse event.
  3605.  
  3606. If you want to control which way these functions work, bind the
  3607. variable last-nonmenu-event around the call.  These functions use the
  3608. keyboard if that variable holds a keyboard event (actually, any
  3609. non-list); they use the mouse if that variable holds a mouse event
  3610. (actually, any list).
  3611.  
  3612. ** The mouse-face property is now implemented, both in overlays and as
  3613. a text property.  It specifies a face to use when the mouse is in the
  3614. range of text for which the property is specified.
  3615.  
  3616. ** When text has a non-nil `intangible' property, you cannot move point
  3617. within it or right before it.  If you try, point actually moves to the
  3618. end of the intangible text.  Note that this means that backward-char
  3619. is a no-op when there is an intangible character to the left of point.
  3620.  
  3621. ** minibuffer-exit-hook is a new normal hook that is run when you
  3622. exit the minibuffer.
  3623.  
  3624. ** The variable x-cross-pointer-shape specifies the cursor shape to use
  3625. when the mouse is over text that has a mouse-face property.
  3626.  
  3627. ** The new variable interpreter-mode-alist specifies major modes to use
  3628. for shell scripts that specify a command interpreter.  Its elements
  3629. look like (INTERPRETER . MODE); for example, ("perl" . perl-mode) is
  3630. one element present by default.  This feature applies only when the
  3631. file name doesn't indicate which mode to use.
  3632.  
  3633. ** If you use a minibuffer-only frame, set the variable
  3634. minibuffer-auto-raise to t, and entering the minibuffer will then
  3635. raise the minibuffer frame.
  3636.  
  3637. ** If pop-up-frames is t, display-buffer now looks for an existing
  3638. window in any visible frame, showing the specified buffer, and uses
  3639. such a window in preference to making a new frame.
  3640.  
  3641. ** In the functions next-window, previous-window, next-frame,
  3642. previous-frame, get-buffer-window, get-lru-window, get-largest-window
  3643. and delete-windows-on, if you specify `visible' for the last argument,
  3644. it means to consider all visible frames.
  3645.  
  3646. ** Mouse events now give the X and Y coordinates in pixels, rather than
  3647. in characters.  You can convert these values to characters by dividing by
  3648. the values of (frame-char-width) and (frame-char-height).
  3649.  
  3650. ** The new functions mouse-pixel-position and set-mouse-pixel-position
  3651. read and set the mouse position in units of pixels.  The existing
  3652. functions mouse-position and set-mouse-position continue to work with
  3653. units of characters.
  3654.  
  3655. ** The new function compute-motion is useful for computing the width
  3656. of certain text when it is displayed.
  3657.  
  3658. ** The function vertical-motion now takes an option second argument WINDOW
  3659. which says which window to use for the display calculations.
  3660.  
  3661. vertical-motion always operates on the current buffer.
  3662. It is ok to specify a window displaying some other buffer.
  3663. Then vertical-motion uses the width, hscroll and display-table of
  3664. the specified window, but still scans the current buffer.
  3665.  
  3666. ** An error no longer sets last-command to t; the value of last-command
  3667. does reflect the previous command (the one that got an error).
  3668.  
  3669. If you do not want a particular command to be recognized as the
  3670. previous command in the case where it got an error, you must code that
  3671. command to prevent this.  Set this-command to t at the beginning of
  3672. the command, and set this-command back to its proper value at the end,
  3673. like this:
  3674.  
  3675.   (defun foo (args...)
  3676.     (interactive ...)
  3677.     (setq this-command t)
  3678.     ...do the work...
  3679.     (setq this-command 'foo))
  3680.  
  3681. or like this:
  3682.  
  3683.   (defun foo (args...)
  3684.     (interactive ...)
  3685.     (let ((old-this-command this-command))
  3686.       (setq this-command t)
  3687.       ...do the work...
  3688.       (setq this-command old-this-command)))
  3689.  
  3690. The undo and yank commands do this.
  3691.  
  3692. ** If you specify an explicit title for a new frame when you create it,
  3693. the title is used as the resource name when looking up X resources to
  3694. control the shape of that frame.  If you don't specify the frame title, 
  3695. the value of x-resource-name is used, as before.
  3696.  
  3697. ** The frame parameter user-position, if non-nil, says that the user
  3698. has specified the frame position.  Emacs reports this to the window
  3699. manager, to tell it not to override the position that the user
  3700. specified.
  3701.  
  3702. ** Major modes can now set change-major-mode-hook to arrange for state
  3703. to be cleaned up when the user switches to a new major mode.  The function
  3704. kill-all-local-variables runs this hook.  For best results, make the hook a
  3705. buffer-local variable so that it will disappear after doing its job and will
  3706. not interfere with the subsequent major mode.
  3707.  
  3708. ** The new variable overriding-local-map, if non-nil, specifies a keymap
  3709. that overrides the current local map, all minor mode keymaps, and all
  3710. text property keymaps.  Incremental search uses this feature to override
  3711. all other keymaps temporarily.
  3712.  
  3713. ** A key definition in a menu keymap can now have additional structure:
  3714. in addition to (ITEMNAME [HELPSTRING] . COMMAND) which was allowed
  3715. before, the form (ITEMNAME [HELPSTRING] (...) . COMMAND) is
  3716. allowed.  (HELPSTRING is optional, and is not currently used.)
  3717.  
  3718. Here (...) represents a sublist containing information about keyboard
  3719. key sequences that run the same command COMMAND.  Displaying the menu
  3720. automatically creates and updates the sublist when appropriate; you
  3721. need never set these up yourself.
  3722.  
  3723. lookup-key, key-binding, and similar functions return just COMMAND,
  3724. not the whole binding.
  3725.  
  3726. To precompute this information for a given keymap, you can do
  3727.   (x-popup-menu nil KEYMAP).
  3728.  
  3729. ** When you specify coordinates for x-popup-menu as a list ((XOFFSET
  3730. YOFFSET) WINDOW), the coordinates are now measured in pixels.
  3731.  
  3732. ** where-is-internal now takes just four arguments:
  3733. DEFINITION KEYMAP FIRSTONLY NOINDIRECT.
  3734. The single argument KEYMAP replaces two arguments KEYMAP and KEYMAP1.
  3735.  
  3736. If KEYMAP is non-nil, where-is-internal searches only KEYMAP and the
  3737. global keymap.
  3738.  
  3739. If KEYMAP is nil, where-is-internal searches all the currently active
  3740. keymaps, but finds the active keymaps as if overriding-local-map were
  3741. nil.
  3742.  
  3743. If you pass a list of the form (keymap) as KEYMAP, where-is-internal
  3744. searches only the global map.  (This is not a special case--it follows
  3745. from the specifications above.)
  3746.  
  3747. If you pass the value of overriding-local-map as KEYMAP, where-is-internal
  3748. searches in exactly the same was as command execution does.
  3749.  
  3750. ** Use the macro define-derived-mode to define a new major mode that
  3751. inherits the definition of another major mode.  Here's how to define a
  3752. command named hypertext-mode that inherits from the command text-mode:
  3753.  
  3754.     (define-derived-mode hypertext-mode text-mode "Hypertext"
  3755.       "Major mode for hypertext.\n\n\\{hypertext-mode-map}"
  3756.       (setq case-fold-search nil))
  3757.  
  3758.     (define-key hypertext-mode-map [down-mouse-3] 'do-hyper-link)
  3759.  
  3760. The new mode has its own keymap, which inherits from that of the
  3761. original mode.  It also has its own syntax and abbrev tables, which
  3762. are initialized by copying those of the original mode.  It also has
  3763. its own mode hook.  All are given names made by appending a suffix
  3764. to the name of the new mode.
  3765.  
  3766. ** A syntax table can now inherit the data for some characters from
  3767. standard-syntax-table, while specifying other characters itself.
  3768. Syntax code 13 means "inherit this character from the standard syntax
  3769. table."  In modify-syntax-entry, the character `@' represents this code.
  3770.  
  3771. The function `make-syntax-table' now creates a syntax table which
  3772. inherits all letters and control characters (0 to 31 and 128 to 255)
  3773. from the standard syntax table, while copying the other characters
  3774. from the standard syntax table.  Most syntax tables in Emacs are set
  3775. up this way.
  3776.  
  3777. This sort of inheritance is useful for people who set up character
  3778. sets with additional alphabetic characters in the range 128 to 255.
  3779. Just changing the standard syntax for these characters affects all
  3780. major modes.
  3781.  
  3782. ** The new function transpose-regions swaps two regions of the buffer.
  3783. It preserves the markers in those two regions, so that they stay with
  3784. the surrounding text as it is swapped.
  3785.  
  3786. ** revert-buffer now runs before-revert-hook at the beginning and
  3787. after-revert-hook at the end.  These can be used by minor modes
  3788. that need to clean up state variables.
  3789.  
  3790. ** The new function get-char-property is like get-text-property, but
  3791. checks for overlays with properties as well as for text properties.
  3792. It checks for overlays first, in order of descending priority, and
  3793. text properties last.
  3794.  
  3795. get-char-property allows windows as the OBJECT argument, as well
  3796. as buffers and strings.  If you specify a window, then only overlays
  3797. active on that window are considered.
  3798.  
  3799. ** Overlays can have the `invisible' property.
  3800.  
  3801. ** The function insert-file-contents now takes an optional fifth 
  3802. argument called REPLACE.  If this is t, it means to replace the
  3803. contents of the buffer (actually, just the accessible portion)
  3804. with the contents of the file.
  3805.  
  3806. This is better than simply deleting and inserting the whole thing
  3807. because (1) it preserves some marker positions and (2) it puts less
  3808. data in the undo list.
  3809.  
  3810. ** The variable inhibit-first-line-modes-regexps specifies classes of
  3811. file names for which -*- on the first line should not be looked for.
  3812.  
  3813. ** The variables before-change-functions and after-change-functions
  3814. hold lists of functions to call before and after a change in the
  3815. buffer's text.  They work much like before-change-function and
  3816. after-change-function, except that they hold a list of functions
  3817. instead of just one.
  3818.  
  3819. These variables will eventually make before-change-function and
  3820. after-change-function obsolete.
  3821.  
  3822. ** The variable kill-buffer-query-functions holds a list of functions
  3823. to be called with no arguments when a buffer is about to be killed.
  3824. (That buffer is the current buffer when the function is called.)
  3825. If any of the functions returns nil, the buffer is not killed
  3826. (and the remaining functions in the list are not called).
  3827.  
  3828. ** The variable kill-emacs-query-functions holds a list of functions
  3829. to be called with no arguments when you ask to exit Emacs.
  3830. If any of the functions returns nil, the exit is canceled
  3831. (and the remaining functions in the list are not called).
  3832.  
  3833. ** The argument for buffer-disable-undo is now optional,
  3834. like the argument for buffer-enable-undo.
  3835.  
  3836. ** The new variable system-configuration holds the canonical three-part
  3837. GNU configuration name for which Emacs was built.
  3838.  
  3839. ** The function system-name now tries harder to return a fully qualified
  3840. domain name.
  3841.  
  3842. ** The variable emacs-major-version holds the major version number
  3843. of Emacs.  (Currently 19.)
  3844.  
  3845. ** The variable emacs-minor-version holds the minor version number
  3846. of Emacs.  (Currently 23.)
  3847.  
  3848. ** The default value of comint-input-autoexpand is now nil.
  3849. However, Shell mode sets it from the value of shell-input-autoexpand,
  3850. whose default value is `history'.
  3851.  
  3852. ** The new function set-process-window-size specifies the terminal window
  3853. size for a subprocess.  On some systems it sends the subprocess a signal
  3854. to let it know that the size has changed.
  3855.  
  3856. ** %P is a new way to display a percentage in the mode line.  It
  3857. displays the percentage of the buffer text that is above the *bottom*
  3858. of the window (which includes the text visible, in the window as well
  3859. as the text above the top).  It displays `Top' as well as the
  3860. percentage if the top of the buffer is visible on screen.
  3861.  
  3862. ** %+ in the mode line specs displays `*' if the buffer is modified,
  3863. and otherwise `-'.  It never displays `%', as `%*' would do; whether the
  3864. buffer is read-only has no effect on %+.
  3865.  
  3866. ** The new functions ffloor, fceiling, fround and ftruncate take a
  3867. floating point argument and return a floating point result whose value
  3868. is a nearby integer.  ffloor returns the nearest integer below; fceiling,
  3869. the nearest integer above; ftruncate, the nearest integer in the
  3870. direction towards zero; fround, the nearest integer.
  3871.  
  3872. ** Setting `print-escape-newlines' to a non-nil value now also makes
  3873. formfeeds print as ``\f''.
  3874.  
  3875. ** auto-mode-alist now has a new feature.  If an element has the form
  3876. (REGEXP FUNCTION t), and REGEXP matches the file name, then after calling
  3877. FUNCTION, Emacs deletes the part of the file name that matched REGEXP
  3878. and then searches auto-mode-alist again for a new match.
  3879.  
  3880. This is useful for uncompression packages.  An entry of this sort for
  3881. .gz can uncompress the file and then put the uncompressed file in the
  3882. proper mode according to the name sans .gz.
  3883.  
  3884. ** The new function emacs-pid returns the process ID number of Emacs.
  3885.  
  3886. ** user-login-name now consistently checks the LOGNAME environment
  3887. variable before USER.  user-original-login-name is obsolete, since it
  3888. provides the same functionality.  To ignore the environment variables,
  3889. use user-real-login-name.
  3890.  
  3891. ** There is a more general way of handling the system-specific X
  3892. keysyms.  Set the variable system-key-alist to an alist containing
  3893. elements of the form (CODE . SYMBOL), where CODE is the numeric keysym
  3894. code minus the "vendor specific" bit, and symbol is the name for the
  3895. function key.
  3896.  
  3897. ** You can use the variable command-line-functions to set up functions
  3898. to process unrecognized command line arguments.  The variable's value
  3899. should be a list of functions of no arguments.  The functions are
  3900. called successively until one of them returns non-nil.
  3901.  
  3902. Each function should access the free variables argi (the current
  3903. argument) and command-line-args-left (the remaining arguments).  The
  3904. function should return non-nil only if it recognizes and processes the
  3905. argument in argi.  If it does so, it may consume following arguments
  3906. as well by removing them from command-line-args-left.
  3907.  
  3908. ** There's a new way for a magic file name handler to run a primitive
  3909. and inhibit handling of the file name.  Here is how to do it:
  3910.  
  3911. (let ((inhibit-file-name-handlers
  3912.        (cons 'ange-ftp-file-handler 
  3913.              (and (eq inhibit-file-name-operation operation)
  3914.                       inhibit-file-name-handlers)))
  3915.       (inhibit-file-name-operation operation))
  3916.   (apply this-operation args))
  3917.  
  3918. The function find-file-name-handler now takes two arguments.  The
  3919. second argument is OPERATION, the operation for which the handler is
  3920. being sought.
  3921.  
  3922. People have suggested that the second argument should be optional, for
  3923. backward compatibility.  It would be nice if that were possible, but
  3924. it is not.  There is simply no way for find-file-name-handler to do
  3925. the right thing without receiving the proper value for its second
  3926. argument.
  3927.  
  3928. ** The variable completion-regexp-list affects the completion
  3929. primitives try-completion and all-completions.  They consider
  3930. only the possible completions that match each regexp in the list.
  3931.  
  3932. ** Case conversion in the function replace-match has been changed.
  3933.  
  3934. The old behavior was this: if any word in the old text was
  3935. capitalized, replace-match capitalized each word of the replacement
  3936. text.
  3937.  
  3938. The new behavior is this: if the first word in the old text is capitalized,
  3939. replace-match capitalizes the first word of the replacement text.
  3940.  
  3941. ** You can now specify a case table with CANON non-nil and EQV nil.
  3942. Then the EQV part of the case table is deduced from CANON.
  3943.  
  3944. ** The new function minibuffer-prompt takes no arguments and returns
  3945. the current minibuffer prompt string.
  3946.  
  3947. The new function minibuffer-prompt-width takes no arguments and
  3948. returns the display width of the minibuffer prompt string.
  3949.  
  3950. ** The new function frame-first-window returns the window at the
  3951. upper left corner of a given frame.
  3952.  
  3953. ** wholenump is a new alias for natnump.
  3954.  
  3955. ** The variable installation-directory, if non-@code{nil}, names a
  3956. directory within which to look for the `lib-src' and `etc'
  3957. subdirectories.  This is non-nil when Emacs can't find those
  3958. directories in their standard installed locations, but can find them
  3959. near where the Emacs executable was found.
  3960.  
  3961. ** invocation-name and invocation-directory are now variables as well
  3962. as functions.  The variable values are the same values that the
  3963. functions return: the Emacs program name sans directories, and the
  3964. directory it was found in.  (invocation-directory may be nil, if Emacs
  3965. can't determine which directory it should be.)
  3966.  
  3967. ** Installation change regarding version number counting.
  3968.  
  3969. The version number of an Emacs executable contains three numbers.
  3970. The first two describe the Emacs release and the third increments
  3971. each time you build Emacs.
  3972.  
  3973. Now the file version.el contains only the first two version numbers.
  3974. The third component is now determined on the basis of the names of the
  3975. existing executable files.  This means that version.el is not altered
  3976. by building Emacs.
  3977.  
  3978. * Changes in 19.22.
  3979.  
  3980. ** The mouse click M-mouse-2 now inserts the current secondary
  3981. selection (from Emacs or any other X client) where you click.
  3982. It does not move point.
  3983. This command is called mouse-yank-secondary.
  3984.  
  3985. mouse-kill-secondary no longer has a key binding by default.
  3986. Clicking M-mouse-3 (mouse-secondary-save-then-kill) twice
  3987. may be a convenient enough way of killing the secondary selection.
  3988. Or perhaps there should be a keyboard binding for killing the
  3989. secondary selection.  Any suggestions?
  3990.  
  3991. ** New packages:
  3992.  
  3993. *** `icomplete' provides character-by-character information
  3994. about what you could complete if you type TAB.
  3995.  
  3996. *** `avoid' moves the mouse away from point so that it doesn't hide
  3997. your typing.
  3998.  
  3999. *** `shadowfile' helps you update files that are supposed to be stored
  4000. identically in different places (perhaps on different machines).
  4001.  
  4002. ** C-h p now knows about four additional keywords: data, faces, mouse,
  4003. and matching.
  4004.  
  4005. ** The key for starting an inferior Lisp process, in Lisp mode,
  4006. is now C-c C-z instead of C-c C-l.
  4007.  
  4008. ** When the VC commands ask whether to save the buffer, if you say no,
  4009. they signal an error.  This is so that you won't operate on the wrong
  4010. data.
  4011.  
  4012. ** ISO Accents mode now supports `"s' as a way of typing German sharp s.
  4013.  
  4014. ** By default, comint buffers (including Shell mode and debuggers)
  4015. no longer try to scroll to keep the cursor on the bottom line.
  4016. This feature was added in 19.21 but did not work smoothly enough.
  4017.  
  4018. ** Emacs now handles the window manager "delete window" operation.
  4019.  
  4020. ** Display of buffers with text properties is much faster now.
  4021.  
  4022. ** The feature previously announced whereby `insert' does not inherit
  4023. text properties from surrounding text was not fully implemented
  4024. before; but now it is.  use `insert-and-inherit' if you wish to
  4025. inherit sticky properties from the surrounding text.
  4026.  
  4027. ** The functions next-property-change, previous-property-change,
  4028. next-single-property-change, and previous-single-property-change
  4029. now take one additional optional argument LIMIT that is a position at
  4030. which to stop scanning.  If scan ends without finding the property
  4031. change sought, these functions return the specified limit.
  4032.  
  4033. The value returned by previous-single-property-change and
  4034. previous-property-change, when they do find a change, is now one
  4035. greater than what it used to be.  It is the position between the two
  4036. characters whose properties differ, which is one greater than the
  4037. position of the first character found (while scanning back) with
  4038. different properties.
  4039.  
  4040. * User editing changes in version 19.21.
  4041.  
  4042. ** ISO Accents mode supports four additional characters:
  4043. A-with-ring (entered as /A), AE ligature (entered as /E),
  4044. and their lower-case equivalents.
  4045.  
  4046. * User editing changes in version 19.20.
  4047. (See following page for Lisp programming changes.)
  4048.  
  4049. Note that some of these changes were made subsequent to the Emacs 19.20
  4050. editions of the Emacs manual and Emacs Lisp manual; therefore, if you
  4051. have those editions, do read this page.
  4052.  
  4053. ** Dragging with mouse button 1 now puts the selected region
  4054. in the kill ring so you can paste it into other X applications.
  4055.  
  4056. ** Double and triple clicks with button 1 now behave as in xterm,
  4057. selecting the word or line surrounding where you click.  If you drag
  4058. after the last click, you can select a range of words or lines.
  4059.  
  4060. ** You can use button 3 to extend a mouse-selected region, as in xterm.
  4061. This works for regions selected either by dragging Mouse-1 or by
  4062. multiple-clicking Mouse-1.  Clicking Mouse-3 moves the end of the
  4063. region that is (initially) nearer to where you click.
  4064.  
  4065. If the selection was first made by multiple-clicking Mouse-1, and thus
  4066. consists of entire words or lines, Mouse-3 preserves that state.
  4067.  
  4068. As before, clicking Mouse-3 again in the same place kills the region
  4069. thus selected.
  4070.  
  4071. ** The secondary selection commands, M-Mouse-1 and M-Mouse-3, have been
  4072. likewise modified.
  4073.  
  4074. ** You can now search for strings and regexps using the Edit menu bar menu.
  4075.  
  4076. ** You can now access bookmarks using the Bookmark submenu in the File
  4077. menu in the menu bar.
  4078.  
  4079. ** ISO Accents mode, a buffer-local minor mode, provides a convenient
  4080. way to type certain non-ASCII characters.  It makes the characters `,
  4081. ', ", ^, ~ and / serve as modifiers for the following letter.  ` and '
  4082. add accents, " adds an umlaut or dieresis, ^ adds a circumflex, ~
  4083. adds a tilde, and / adds a slash to the following letter.
  4084.  
  4085. If the following character is not a letter, or cannot be modified as
  4086. requested, then both characters stand for themselves.  If you
  4087. duplicate the modifier accent character, that enters the corresponding
  4088. ISO non-spacing accent character (thus, '' enters the ISO acute-accent
  4089. character).  To enter a modifier character itself, type it followed by
  4090. a space.
  4091.  
  4092. This feature can be used whenever a key sequence is expected: for
  4093. ordinary insertion, for searching, and for certain command arguments.
  4094.  
  4095. A few special combinations:
  4096.  
  4097. ~c => c with cedilla
  4098. ~d => d with stroke
  4099. ~< => left guillemot
  4100. ~> => right guillemot
  4101.  
  4102. ** iso-transl.el is a new library that replaces iso-insert.el.
  4103. It defines C-x 8 as an insertion prefix for the ISO characters
  4104. between 128 and 255, much like iso-insert, except that iso-transl
  4105. works even in searches and help commands--wherever a key sequence
  4106. is expected.
  4107.  
  4108. To define case-conversion for these characters for ISO 8859/1,
  4109. load the library iso-syntax.  (This is not new.)
  4110.  
  4111. ** M-TAB in Text mode now runs the command ispell-complete-word
  4112. which performs completion using the spelling dictionary.
  4113.  
  4114. The spelling correction submenu now includes this command 
  4115. and another command which completes a word fragment (that is,
  4116. it doesn't assume that the text to be completed starts at the
  4117. beginning of a word.
  4118.  
  4119. ** In incremental search, you can use M-y to yank the most recent kill
  4120. into the search string.
  4121.  
  4122. ** The new function ispell-message checks the spelling of a message
  4123. you are about to send or post.  It ignores text cited from other
  4124. messages.
  4125.  
  4126. To automatically check all your outgoing messages, include the
  4127. following line in your .emacs file:
  4128.   (setq news-inews-hook (setq mail-send-hook 'ispell-message))
  4129.  
  4130. ** There is now a separate minibuffer history list for the names of
  4131. extended commands.  This history list is used by M-x when reading
  4132. the command name.  The motivation for this is to prevent command
  4133. names from appearing in the history used for other minibuffer
  4134. arguments.
  4135.  
  4136. Note that the history list for entire commands that use the minibuffer
  4137. is a separate feature.  That history list records a command with all
  4138. its arguments, and you must use C-x ESC ESC to access it.
  4139.  
  4140. ** You can use the new command C-x v ~ VERSION RET to examine a
  4141. specified version of a file that is maintained with version control.
  4142.  
  4143. ** In Indented Text mode, only blank lines now separate paragraphs.
  4144. Indented lines continue the paragraph that is in progress.  This makes
  4145. the user option variable adaptive-fill-mode have its intended effect.
  4146.  
  4147. ** Local variable specifications in files for variables whose names end
  4148. in `-hook' and `-function' are now controlled by the variable
  4149. `enable-local-eval', just like the `eval' variable.
  4150.  
  4151. ** C-x r j (jump-to-register) when restoring a frame configuration now
  4152. makes all unwanted frames (existing frames not mentioned in the
  4153. configuration) invisible.
  4154.  
  4155. If you want to delete these unwanted frames, use a prefix argument for
  4156. C-x r j.
  4157.  
  4158. ** You can customize the calendar to display weeks beginning on
  4159. Monday: set the variable `calendar-week-start-day' to 1.
  4160.  
  4161. ** Rmail changes.
  4162.  
  4163. If you save messages to a file in Unix format while viewing a message
  4164. with its whole header, this now copies to the file the entire header
  4165. of each message copied.
  4166.  
  4167. ** Comint mode changes.
  4168.  
  4169. C-c C-e shows as much output as possible in the window.
  4170. C-c RET copies an old input (the one at point)
  4171. and places the copy after the latest prompt.
  4172. C-c C-p and C-c C-n move through the buffer, stopping at places
  4173. where the subshell prompted for input.
  4174. C-c C-h lists the input history in a `*Help*' buffer.
  4175.  
  4176. There are new menu bar items for completion/input/output/signal commands.
  4177.  
  4178. Input behaviour is configurable.  Variables control whether some windows
  4179. showing the buffer scroll to the bottom before insertion.  These are
  4180. `comint-scroll-to-bottom-on-input' and `before-change-function'.  By default,
  4181. insertion causes the selected window to scroll to the bottom before insertion
  4182. occurs.
  4183.  
  4184. Subprocess output now keeps point at the end of the buffer in each
  4185. window individually if point was already at the end of the buffer in
  4186. that window.
  4187.  
  4188. If `comint-scroll-show-maximum-output' is non-nil (which is the
  4189. default), then scrolling due to arrival of output tries to place the
  4190. last line of text at the bottom line of the window, so as to show as
  4191. much useful text as possible.  (This mimics the scrolling behavior of
  4192. many terminals.)
  4193.  
  4194. By setting `comint-scroll-to-bottom-on-output', you can opt for having
  4195. point jump to the end of the buffer whenever output arrives--no matter
  4196. where in the buffer point was before.  If the value is `this', point
  4197. jumps in the selected window.  If the value is `all', point jumps in
  4198. each window that shows the comint buffer.  If the value is `other',
  4199. point jumps in all nonselected windows that show the current buffer.
  4200. The default value is nil, which means point does not jump to the end.
  4201.  
  4202. Input history insertion is configurable.  A variable controls whether only the
  4203. first instance of successive identical inputs is stored in the input history.
  4204. This is `comint-input-ignoredups'.
  4205.  
  4206. Completion (bound to TAB) is now more general.  Depending on context,
  4207. completion now operates on the input history, on command names, or (as
  4208. before) on filenames.
  4209.  
  4210. Filename completion is configurable.  Variables control whether
  4211. file/directory suffix characters are added (`comint-completion-addsuffix'),
  4212. whether shortest completion is acceptable when no further unambiguous
  4213. completion is possible (`comint-completion-recexact'), and the timing of
  4214. completion candidate listing (`comint-completion-autolist').
  4215.  
  4216. Comint mode now provides history expansion.  Insert input using `!'
  4217. and `^', in the same syntax that typical shells use; then type TAB.
  4218. This searches the comint input history for a matching element,
  4219. performs substitution if necessary, and places the result in the
  4220. comint buffer in place of the original input.
  4221.  
  4222. History references in the input may be expanded before insertion into
  4223. the input ring, or on input to the interpreter (and therefore
  4224. visibly).  The variable `comint-input-autoexpand' specifies which.
  4225.  
  4226. You can make the SPC key perform history expansion by binding
  4227. SPC to the command `comint-magic-space'.
  4228.  
  4229. The command `comint-dynamic-complete-variable' does variable name
  4230. completion using the environment variables as set within Emacs.  The
  4231. variables controlling filename completion apply to variable name
  4232. completion too.  This command is normally available through the menu
  4233. bar.
  4234.  
  4235. ** Shell mode
  4236.  
  4237. Paragraph motion and marking commands (default bindings M-{, M-}, M-h) operate
  4238. on output groups (i.e., shell prompt plus associated shell output).
  4239.  
  4240. TAB now completes commands, as well as file names and expand history.
  4241. Commands are searched for along the path that Emacs has on startup.
  4242.  
  4243. C-c C-f now moves forward a command (`shell-forward-command') and
  4244. C-c C-b now moves backward a command (`shell-backward-command').
  4245.  
  4246. Command completion is configurable.  The variables controlling
  4247. filename completion in comint mode apply, together with a variable
  4248. controlling whether to restrict possible completions to only files
  4249. that are executable (`shell-command-execonly').
  4250.  
  4251. The input history is initialised from the file name given in the
  4252. variable `shell-input-ring-file-name'--normally `.history' in your
  4253. home directory.
  4254.  
  4255. Directory tracking is more robust.  It can cope with command sequences
  4256. and forked commands, and can detect the failure of directory changing
  4257. commands in most circumstances.  It's still not infallible, of course.
  4258.  
  4259. You can now configure the behaviour of `pushd'.  Variables control
  4260. whether `pushd' behaves like `cd' if no argument is given
  4261. (`shell-pushd-tohome'), pop rather than rotate with a numeric argument
  4262. (`shell-pushd-dextract'), and only add directories to the directory
  4263. stack if they are not already on it (`shell-pushd-dunique').  The
  4264. configuration you choose should match the underlying shell, of course.
  4265.  
  4266. * Emacs Lisp programming changes in Emacs 19.20.
  4267.  
  4268. ** A new function `remove-hook' is now used to remove a hook that you might
  4269. have added with `add-hook'.
  4270.  
  4271. ** There is now a Lisp pretty-printer in the library `pp'.
  4272.  
  4273. ** The partial Common Lisp support has been entirely reimplemented.
  4274.  
  4275. ** When you insert text using `insert', `insert-before-markers' or
  4276. `insert-buffer-substring', text properties are no longer inherited
  4277. from the surrounding text.
  4278.  
  4279. When you want to inherit text properties, use the new functions
  4280. `insert-and-inherit' or `insert-before-markers-and-inherit'.
  4281.  
  4282. The self-inserting character command does do inheritance.
  4283.  
  4284. ** Frame creation hooks.
  4285.  
  4286. The function make-frame now runs the normal hooks
  4287. before-make-frame-hook and after-make-frame-hook.
  4288.  
  4289. ** You can now use function-key-map to make a key an alias for other
  4290. key sequences that can vary depending on circumstances.  To do this,
  4291. give the key a definition in function-key-map which is a function
  4292. rather than a specific expansion key sequence.
  4293.  
  4294. If the function reads input itself, it can have the effect of altering
  4295. the event that follows.  For example, here's how to define C-c h to
  4296. turn the character that follows into a hyper character:
  4297.  
  4298. (define-key function-key-map "\C-ch" 'hyperify)
  4299.  
  4300. (defun hyperify (prompt)
  4301.   (let ((e (read-event)))
  4302.     (vector (if (numberp e)
  4303.         (logior (lsh 1 20) e)
  4304.           (if (memq 'hyper (event-modifiers e))
  4305.           e
  4306.         (add-event-modifier "H-" e))))))
  4307.  
  4308. (defun add-event-modifier (string e)
  4309.   (let ((symbol (if (symbolp e) e (car e))))
  4310.     (setq symbol (intern (concat string (symbol-name symbol))))
  4311.     (if (symbolp e)
  4312.     symbol
  4313.       (cons symbol (cdr e)))))
  4314.  
  4315. The character translation function gets one argument, which is the
  4316. prompt that was specified in read-key-sequence--or nil if the key
  4317. sequence is being read by the editor command loop.  In most cases
  4318. you can just ignore the prompt value.
  4319.  
  4320. ** Changes for reading and writing text properties.
  4321.  
  4322. New low-level Lisp features make it possible to write Lisp programs to
  4323. save text properties in files, and read text properties from files.
  4324. You can program any file format you like.
  4325.  
  4326. The variable `write-region-annotation-functions' should contain a list
  4327. of functions to be run by `write-region' to encode text properties in
  4328. some fashion as annotations to the text that is written.
  4329.  
  4330. Each function in the list is called with two arguments: the start and
  4331. end of the region to be written.  These functions should not alter the
  4332. contents of the buffer.  Instead, they should return lists indicating
  4333. annotations to write in the file in addition to the text in the
  4334. buffer.
  4335.  
  4336. Each function should return a list of elements of the form (POSITION
  4337. . STRING), where POSITION is an integer specifying the relative
  4338. position in the text to be written, and STRING is the annotation to
  4339. add there.
  4340.  
  4341. Each list returned by one of these functions must be already sorted in
  4342. increasing order by POSITION.  If there is more than one function,
  4343. `write-region' merges the lists destructively into one sorted list.
  4344.  
  4345. When `write-region' actually writes the text from the buffer to the
  4346. file, it intermixes the specified annotations at the corresponding
  4347. positions.  All this takes place without modifying the buffer.
  4348.  
  4349. The variable `after-insert-file-functions' should contain a list of
  4350. functions to be run each time a file's contents have been inserted into
  4351. a buffer.  Each function receives one argument, the length of the
  4352. inserted text; point indicates the start of that text.  The function
  4353. should make whatever changes it wants to make, then return the updated
  4354. length of the inserted text, as it stands after those changes.  The
  4355. value returned by one function is used as the argument to the next.
  4356. These functions should always return with point at the beginning of
  4357. the inserted text.
  4358.  
  4359. The intended use of `after-insert-file-functions' is for converting
  4360. some sort of textual annotations into actual text properties.  But many
  4361. other uses may be possible.
  4362.  
  4363. We now invite users to begin implementing Lisp programs to store and
  4364. retrieve text properties in files, using these new primitive features,
  4365. and thus to experiment with various data formats and find good ones.
  4366.  
  4367. We suggest not trying to handle arbitrary Lisp objects as property
  4368. names or property values--because a program that general is probably
  4369. difficult to write, and slow.  Instead, choose a set of possible data
  4370. types that are reasonably flexible, and not too hard to encode.
  4371.  
  4372. ** Comint completion.
  4373.  
  4374. Currently comint-dynamic-complete-command (and associated variable
  4375. comint-after-partial-pathname-command) are set by default to complete a
  4376. filename.  Other comint-mode users should have their own functions to achieve
  4377. this.  For example, gud-mode could complete debugger commands.  A completion
  4378. function is provided solely for this reason (comint-dynamic-simple-complete).
  4379.  
  4380. Other comint-mode users should bind comint-dynamic-complete (shell-mode does
  4381. already).
  4382.  
  4383. ** Comint history reference expansion
  4384.  
  4385. Currently comint-input-autoexpand is 'history, which means only expand
  4386. history on insertion to comint-input-ring.  For non-shell modes, this is
  4387. a strange default, since non-shells will not understand history references.
  4388. Perhaps it would be better for the variable to be 'input, which means expand
  4389. on RET.
  4390.  
  4391. The value 'history might possibly be wrong even for shells, since the
  4392. expansion will be done both by comint and the underlying shell (except sh, of
  4393. course).  It would be better for expansion to be done by one or the other,
  4394. not both since they may (ahem) disagree.  Since it is silly to put a literal
  4395. history reference into comint-input-ring, perhaps it would be better for the
  4396. variable to be 'input too.
  4397.  
  4398. The reason the variable is not 'input by default is that I was attempting to
  4399. adhere to The Principle of Least Astonishment.  I didn't want to shock users
  4400. by having their input change in front of their eyes.
  4401.  
  4402. ** Argument delimiters and Comint mode.
  4403.  
  4404. Currently comint-delimiter-argument-list is '(), which means no strings are
  4405. to be treated as delimiters and arguments.  In shell-mode, this variable is
  4406. set to shell-delimiter-argument-list, '("|" "&" "<" ">" "(" ")" ";").  Other
  4407. comint-mode users should set this variable too.  For example, a lisp-type
  4408. mode might want to set this to '("." "(" ")") or some such.
  4409.  
  4410. ** Comint output hook.
  4411.  
  4412. There is now a hook, comint-output-filter-hook, that is run-hooks'ed by the
  4413. output filter, comint-output-filter.  This is useful for scrolling (see
  4414. below), but also things like processing output for specific text, output
  4415. highlighting, etc.
  4416.  
  4417. So that such output processing may be done efficiently, there is a new
  4418. variable, comint-last-output-start, that records the position of the start of
  4419. the lastest output inserted into the buffer (effectively the previous value
  4420. of process-mark).  Output processing functions should process the text
  4421. between comint-last-output-start (or perhaps the beginning of the line that
  4422. the position lies on) and process-mark.
  4423.  
  4424. ** Comint scrolling.
  4425.  
  4426. There is now automatic scrolling of process windows.
  4427.  
  4428. Currently comint-scroll-show-maximum-output is t, which means when scrolling
  4429. output put process-mark at the bottom of the window.  There is a good case
  4430. for it to be t, since the user is likely to want to see as much output as
  4431. possible.  But, then again, there is a comint-show-maximum-output command.
  4432.  
  4433. ** Comint history retrieval.
  4434.  
  4435. The input following point is not deleted when moving around the input history
  4436. (with M-p etc.).  Emacs maintainers may not like this.  However, I feel this
  4437. is a useful feature.  The simple remedy is to put end-of-line in before
  4438. delete-region in comint-previous-matching-input.
  4439.  
  4440. The input history retrieval commands still wrap-around the input ring, unlike
  4441. Emacs command history.
  4442.  
  4443. * Changes in version 19.19.
  4444.  
  4445. ** The new package bookmark.el records named bookmarks: positions that
  4446. you can jump to.  Bookmarks are saved automatically between Emacs
  4447. sessions.
  4448.  
  4449. ** Another simpler package saveplace.el records your position in each
  4450. file when you kill its buffer (or kill Emacs), and jumps to the same
  4451. position when you visit the file again (even in another Emacs
  4452. session).  Use `toggle-save-place' to turn on place-saving in a given file;
  4453. use (setq-default save-place t) to turn it on for all files.
  4454.  
  4455. ** In Outline mode, you can now customize how to compute the level of a
  4456. heading line.  Set `outline-level' to a function of no arguments which
  4457. returns the level, assuming point is at the beginning of a heading
  4458. line.
  4459.  
  4460. ** You can now specify the prefix key to use for Outline minor mode.
  4461. (The default is C-c.)  Set the variable outline-minor-mode-prefix to
  4462. the key sequence you want to use (as a string or vector).
  4463.  
  4464. ** In Bibtex mode, C-c e has been changed to C-c C-b.  This is because
  4465. C-c followed by a letter is reserved for users.
  4466.  
  4467. ** The `mod' function is no longer an alias for `%', but is a separate function
  4468. that yields a result with the same sign as the divisor.  `floor' now takes an
  4469. optional second argument, which divides the first argument before the floor is
  4470. taken.
  4471.  
  4472. ** `%' no longer allows floating point arguments, since the results were often
  4473. inconsistent with integer `%'.
  4474.  
  4475. * Changes in version 19.18.
  4476.  
  4477. ** Typing C-z in an iconified Emacs frame now deiconifies it.
  4478.  
  4479. ** hilit19 is a new library for automatic highlighting of parts of the
  4480. text in the buffer, based on its meaning and context.
  4481.  
  4482. ** Killing no longer sends the killed text to the X clipboard.
  4483. And large strings are not put in the cut buffer either.
  4484. The variable x-cut-buffer-max specifies the maximum number of characters
  4485. to put in the cut buffer.
  4486.  
  4487. ** The new command C-x 5 o (other-frame) selects different frames,
  4488. successively, in cyclic order.  It does for frames what C-x o
  4489. does for windows.
  4490.  
  4491. ** The command M-ESC (eval-expression) has its own command history.
  4492.  
  4493. ** The commands M-! and M-| for running shell commands have their own
  4494. command history.
  4495.  
  4496. ** If the directory containing the Emacs executable has a sibling named
  4497. `lisp', that `lisp' directory is added to the end of `load-path'
  4498. (provided you don't override the normal value with the EMACSLOADPATH
  4499. environment variable).  This feature may make it easier to move
  4500. an installed Emacs from place to place.
  4501.  
  4502. ** M-x validate-tex-buffer now records the locations of mismatches
  4503. found in the `*Occur*' buffer.  You can go to that buffer and type C-c
  4504. C-c to visit a particular mismatch.
  4505.  
  4506. ** There are new commands in Shell mode.
  4507.  
  4508. C-c C-n and C-c C-p move point to the next or previous shell input line.
  4509.  
  4510. C-c C-d is now another way to send an end-of-file to the subshell.
  4511.  
  4512. ** Changes to calendar/diary.
  4513.  
  4514. Time zone data is now determined automatically, including the
  4515. start/stop days and times of daylight savings time.  The code now
  4516. works correctly almost anywhere in the world.
  4517.  
  4518. The format of the holiday specifications has changed and IS NO LONGER
  4519. COMPATIBLE with the old (version 18) format.  See the documentation of
  4520. the variable calendar-holidays for details of the new, improved
  4521. format.
  4522.  
  4523. The hook `diary-display-hook' has been split into two:
  4524. diary-display-hook which should be used ONLY for the display and
  4525. `diary-hook' which should be used for appointment notification.  If
  4526. diary-display-hook is nil (the default), simple-diary-display is
  4527. used.  This allows the diary hooks to be correctly set with add-hook.
  4528.  
  4529. The forms used for dates in diary entries and general display are no
  4530. longer autoloaded, but set at load time; this means they will be set
  4531. correctly based on values you assign to various variables.
  4532.  
  4533. ** The functions x-rebind-key and x-rebind-keys have been deleted,
  4534. because you can accomplish the same job by binding keys to keyboard
  4535. macros.
  4536.  
  4537. ** Emacs now distinguishes double and triple drag events and double and
  4538. triple button-down events.  These work analogously to double and
  4539. triple click events.
  4540.  
  4541. Double drag events, if not defined, convert to ordinary click events.
  4542. Double down events, if not defined, convert first to ordinary down
  4543. events, which are then discarded if not defined.  Triple events that
  4544. are not defined convert to the corresponding double event; if that is
  4545. also not defined, it may convert further.
  4546.  
  4547. ** The new function event-click-count returns the number of clicks,
  4548. from an event which is a list.  It is 1 for an ordinary click, drag,
  4549. or button-down event, 2 for a double event, and 3 or more for a triple
  4550. event.
  4551.  
  4552. ** The new function previous-frame is like next-frame, but moves
  4553. around through the set of existing frames in the opposite order.
  4554.  
  4555. ** The post-command-hook now runs even after commands that get an error
  4556. and return to top level.  As a consequence of the same change, this
  4557. hook also runs before Emacs reads the first command.  That might sound
  4558. paradoxical, as if this hook were the same as the pre-command-hook.
  4559. Actually, they are not similar; the latter runs before *execution* of
  4560. a command, but after it has been read.
  4561.  
  4562. ** You can turn off the text property hooks that run when point moves
  4563. to certain places in the buffer, by binding inhibit-point-motion-hooks
  4564. to a non-nil value.
  4565.  
  4566. ** Inserting a string with no text properties into the buffer normally
  4567. inherits the properties of the preceding character.  You can now
  4568. control this inheritance by setting the front-sticky and
  4569. rear-nonsticky properties of a character.
  4570.  
  4571. If you make a character's front-sticky property t, then insertion
  4572. before the character inherits its properties.  If you make the
  4573. rear-nonsticky property t, then insertion after the character does not
  4574. inherit its properties.  You can regard characters as normally being
  4575. rear-sticky and not front-sticky, and this is why insertion normally
  4576. inherits from the previous character.
  4577.  
  4578. If neither side of an insertion is suitably sticky, then the inserted
  4579. text gets no properties.  If both sides are sticky, then the inserted
  4580. text gets the properties of both sides, with the previous character's
  4581. properties taking precedence when both sides have a property in
  4582. common.
  4583.  
  4584. You can also specify stickiness for individual properties.  To do so,
  4585. use a list of property names as the value of the front-sticky property
  4586. or the rear-nonsticky property.  For example, if a character has a
  4587. rear-nonsticky property whose value is (face read-only), then
  4588. insertion after the character will not inherit its face property or
  4589. read-only property (if any), but will inherit any other properties.
  4590.  
  4591. The merging of properties when both sides of the insertion are sticky
  4592. takes place one property at a time.  If the preceding character is
  4593. rear-sticky for the property, and the property is non-nil, it
  4594. dominates.  Otherwise, the following character's property value is
  4595. used if it is front-sticky for that property.
  4596.  
  4597. ** If you give a character a non-nil `invisible' text property, the
  4598. character does not appear on the screen.  This works much like
  4599. selective display.
  4600.  
  4601. The details of this feature are likely to change in future Emacs
  4602. versions.
  4603.  
  4604. ** In Info, when you go to a node, it runs the normal hook
  4605. Info-selection-hook.
  4606.  
  4607. ** You can use the new function `invocation-directory' to get the name
  4608. of the directory containing the Emacs executable that was run.
  4609.  
  4610. ** Entry to the minibuffer runs the normal hook minibuffer-setup-hook.
  4611.  
  4612. ** The new function minibuffer-window-active-p takes one argument, a
  4613. minibuffer window, and returns t if the window is currently active.
  4614.  
  4615. * Changes in version 19.17.
  4616.  
  4617. ** When Emacs displays a list of completions in a buffer, 
  4618. you can select a completion by clicking mouse button 2
  4619. on that completion.
  4620.  
  4621. ** Use the command `list-faces-display' to display a list of 
  4622. all the currently defined faces, showing what they look like.
  4623.  
  4624. ** Menu bar items from local maps now come after the usual items.
  4625.  
  4626. ** The Help menu bar item always comes last in the menu bar.
  4627.  
  4628. ** If you enable Font-Lock mode on a buffer containing a program
  4629. (certain languages such as C and Lisp are supported), everything you
  4630. type is automatically given a face property appropriate to its
  4631. syntactic role.  For example, there are faces for comments, string
  4632. constants, names of functions being defined, and so on.
  4633.  
  4634. ** Dunnet, an adventure game, is now available.
  4635.  
  4636. ** Several major modes now have their own menu bar items, 
  4637. including Dired, Rmail, and Sendmail.  We would like to add 
  4638. suitable menu bar items to other major modes.
  4639.  
  4640. ** The key binding C-x a C-h has been eliminated.
  4641. This is because it got in the way of the general feature of typing
  4642. C-h after a prefix character.  If you want to run
  4643. inverse-add-global-abbrev, you can use C-x a - or C-x a i g instead.
  4644.  
  4645. ** If you set the variable `rmail-mail-new-frame' to a non-nil value,
  4646. all the Rmail commands to send mail make a new frame to do it in.
  4647. When you send the message, or use the menu bar command not to send it,
  4648. that frame is deleted.
  4649.  
  4650. ** In Rmail, the o and C-o commands are now almost interchangeable.
  4651. Both commands check the format of the file you specify, and append
  4652. the message to it in Rmail format if it is an Rmail file, and in
  4653. inbox file format otherwise.  C-o and o are different only when you
  4654. specify a new file.
  4655.  
  4656. ** The function `copy-face' now takes an optional fourth argument
  4657. NEW-FRAME.  If you specify this, it copies the definition of face
  4658. OLD-FACE on frame FRAME to face NEW-NAME on frame NEW-FRAME.
  4659.  
  4660. ** A local map can now cancel out one of the global map's menu items.
  4661. Just define that subcommand of the menu item with `undefined'
  4662. as the definition.  For example, this cancels out the `Buffers' item
  4663. for the current major mode:
  4664.  
  4665.     (local-set-key [menu-bar buffer] 'undefined)
  4666.  
  4667. ** To put global items at the end of the menu bar, use the new variable
  4668. `menu-bar-final-items'.  It should be a list of symbols--event types
  4669. bound in the menu bar.  The menu bar items for these symbols are
  4670. moved to the end.
  4671.  
  4672. ** The list returned by `buffer-local-variables' now contains cons-cell
  4673. elements of the form (SYMBOL . VALUE) only for buffer-local variables
  4674. that have values.  For unbound buffer-local variables, the variable
  4675. name (symbol) appears directly as an element of the list.
  4676.  
  4677. ** The `modification-hooks' property of a character no longer affects
  4678. insertion; it runs only for deletion and modification of the character.
  4679.  
  4680. To detect insertion, use `insert-in-front-hooks' and
  4681. `insert-behind-hooks' properties.  The former runs when text is
  4682. inserted immediately preceding the character that has the property;
  4683. the latter runs when text is inserted immediately following the
  4684. character.
  4685.  
  4686. ** Buffer modification now runs hooks belonging to overlays as well as
  4687. hooks belonging to characters.  If an overlay has a
  4688. `modification-hooks' property, it applies to any change to text in the
  4689. overlay, and any insertion within the overlay.  If the overlay has a
  4690. `insert-in-front-hooks' property, it runs for insertion at the
  4691. beginning boundary of the overlay.  If the overlay has an
  4692. `insert-behind-hooks' property, it runs for insertion at the end
  4693. boundary of the overlay.
  4694.  
  4695. The values of these properties should be lists of functions.  Each
  4696. function is called, receiving as arguments the overlay in question,
  4697. followed by the bounds of the range being modified.
  4698.  
  4699. ** The new `-name NAME' option directs Emacs to search for its X
  4700. resources using the name `NAME', and sets the title of the initial
  4701. frame.  This argument was added for consistency with other X clients.
  4702.  
  4703. ** The new `-xrm DATABASE' option tells Emacs to treat the string
  4704. DATABASE as the text of an X resource database.  Emacs searches
  4705. DATABASE for resource values, in addition to the usual places.  This
  4706. argument was added for consistency with other X clients.
  4707.  
  4708. ** Emacs now searches for X resources in the files specified by the
  4709. XFILESEARCHPATH, XUSERFILESEARCHPATH, and XAPPLRESDIR environment
  4710. variables, emulating the functionality provided by programs written
  4711. using Xt.  Because of this change, Emacs will now notice system-wide
  4712. application defaults files, as other X clients do.
  4713.  
  4714. XFILESEARCHPATH and XUSERFILESEARCHPATH should be a list of file names
  4715. separated by colons; XAPPLRESDIR should be a list of directory names
  4716. separated by colons.
  4717.  
  4718. Emacs searches for X resources
  4719.   + specified on the command line, with the `-xrm RESOURCESTRING'
  4720.     option,
  4721.   + then in the value of the XENVIRONMENT environment variable,
  4722.     - or if that is unset, in the file named ~/.Xdefaults-HOSTNAME if it exists
  4723.       (where HOSTNAME is the hostname of the machine Emacs is running on),
  4724.   + then in the screen-specific and server-wide resource properties
  4725.     provided by the server,
  4726.     - or if those properties are unset, in the file named ~/.Xdefaults
  4727.       if it exists,
  4728.   + then in the files listed in XUSERFILESEARCHPATH,
  4729.     - or in files named LANG/Emacs in directories listed in XAPPLRESDIR
  4730.       (where LANG is the value of the LANG environment variable), if
  4731.       the LANG environment variable is set,
  4732.     - or in files named Emacs in the directories listed in XAPPLRESDIR
  4733.     - or in ~/LANG/Emacs (if the LANG environment variable is set),
  4734.     - or in ~/Emacs,
  4735.   + then in the files listed in XFILESEARCHPATH.
  4736.  
  4737. The paths in the variables XFILESEARCHPATH, XUSERFILESEARCHPATH, and
  4738. XAPPLRESDIR may contain %-escapes (like the control strings passed to
  4739. the the Emacs lisp `format' function or C printf function), which
  4740. Emacs expands.
  4741.  
  4742. %N is replaced by the string "Emacs" wherever it occurs.
  4743. %T is replaced by "app-defaults" wherever it occurs.
  4744. %S is replaced by the empty string wherever it occurs.
  4745. %L and %l are replaced by the value of the LANG environment variable; if LANG
  4746.    is not set, Emacs does not use that directory or file name at all.
  4747. %C is replaced by the value of the resource named "customization"
  4748.    (class "Customization"), as retrieved from the server's resource
  4749.    properties or the user's ~/.Xdefaults file, or the empty string if
  4750.    that resource doesn't exist.
  4751.  
  4752. So, for example,
  4753.   if XFILESEARCHPATH is set to the value
  4754.     "/usr/lib/X11/%L/%T/%N%C:/usr/lib/X11/%T/%N%C:/usr/lib/X11/%T/%N",
  4755.   and the LANG environment variable is set to
  4756.     "english",
  4757.   and the customization resource is the string
  4758.     "-color",
  4759. then, in the last step of the process described above, Emacs checks
  4760. for resources in the first of the following files that is present and
  4761. readable:
  4762.     /usr/lib/X11/english/app-defaults/Emacs-color
  4763.     /usr/lib/X11/app-defaults/Emacs-color
  4764.     /usr/lib/X11/app-defaults/Emacs
  4765. If the LANG environment variable is not set, then Emacs never uses the
  4766. first element of the path, "/usr/lib/X11/%L/%T/%N%C", because it
  4767. contains the %L escape.
  4768.  
  4769. If XFILESEARCHPATH is unset, Emacs uses the default value
  4770. "/usr/lib/X11/%L/app-defaults/Emacs%C:\
  4771. /usr/lib/X11/app-defaults/Emacs%C:\
  4772. /usr/lib/X11/%L/app-defaults/Emacs:\
  4773. /usr/lib/X11/app-defaults/Emacs"
  4774.  
  4775. This feature was added for consistency with other X applications.
  4776.  
  4777. ** The new function `text-property-any' scans the region of text from
  4778. START to END to see if any character's property PROP is `eq' to
  4779. VALUE.  If so, it returns the position of the first such character.
  4780. Otherwise, it returns nil.
  4781.  
  4782. The optional fifth argument, OBJECT, specifies the string or buffer to
  4783. be examined.
  4784.  
  4785. ** The new function `text-property-not-all' scans the region of text from
  4786. START to END to see if any character's property PROP is not `eq' to
  4787. VALUE.  If so, it returns the position of the first such character.
  4788. Otherwise, it returns nil.
  4789.  
  4790. The optional fifth argument, OBJECT, specifies the string or buffer to
  4791. be examined.
  4792.  
  4793. ** The function `delete-windows-on' now takes an optional second
  4794. argument FRAME, which specifies which frames it should affect.
  4795.   + If FRAME is nil or omitted, then `delete-windows-on' deletes windows
  4796.     showing BUFFER (its first argument) on all frames.
  4797.   + If FRAME is t, then `delete-windows-on' only deletes windows on the
  4798.     selected frame; other frames are unaffected.
  4799.   + If FRAME is a frame, then `delete-windows-on' only deletes windows on
  4800.     the given frame; other frames are unaffected.
  4801.  
  4802.  
  4803. * Changes in version 19.16.
  4804.  
  4805. ** When dragging the mouse to select a region, Emacs now highlights the
  4806. region as you drag (if Transient Mark mode is enabled).  If you
  4807. continue the drag beyond the boundaries of the window, Emacs scrolls
  4808. the window at a steady rate until you either move the mouse back into
  4809. the window or release the button.
  4810.  
  4811. ** RET now exits `query-replace' and `query-replace-regexp'; this makes it
  4812. more consistent with the incremental search facility, which uses RET
  4813. to end the search.
  4814.  
  4815. ** In C mode, C-c C-u now runs c-up-conditional.
  4816. C-c C-n and C-c C-p now run new commands that move forward
  4817. and back over balanced sets of C conditionals (c-forward-conditional
  4818. and c-backward-conditional).
  4819.  
  4820. ** The Edit entry in the menu bar has a new alternative:
  4821. "Choose Next Paste".  It gives you a menu showing the various
  4822. strings in the kill ring; click on one to select it as the text 
  4823. to be yanked ("pasted") the next time you yank.
  4824.  
  4825. ** If you enable Transient Mark mode and set `mark-even-if-inactive' to
  4826. non-nil, then the region is highlighted in a transient fashion just as
  4827. normally in Transient Mark mode, but the mark really remains active
  4828. all the time; commands that use the region can be used even if the
  4829. region highlighting turns off.
  4830.  
  4831. ** If you type C-h after a prefix key, it displays the bindings
  4832. that start with that prefix.
  4833.  
  4834. ** The VC package now searches for version control commands in the
  4835. directories named by the variable `vc-path'; its value should be a
  4836. list of strings.
  4837.  
  4838. ** If you are visiting a file that has locks registered under RCS,
  4839. VC now displays each lock's owner and version number in the mode line
  4840. after the string `RCS'.  If there are no locks, VC displays the head
  4841. version number.
  4842.  
  4843. ** When using X, if you load the `paren' library, Emacs automatically
  4844. underlines or highlights the matching paren whenever point is
  4845. next to the outside of a paren.  When point is before an open-paren,
  4846. this shows the matching close; when point is after a close-paren,
  4847. this shows the matching open.
  4848.  
  4849. ** The new function `define-key-after' is like `define-key',
  4850. but takes an extra argument AFTER.  It places the newly defined
  4851. binding after the binding for the event AFTER.
  4852.  
  4853. ** `accessible-keymaps' now takes an optional second argument, PREFIX.
  4854. If PREFIX is non-nil, it means the value should include only maps for
  4855. keys that start with PREFIX.
  4856.  
  4857. `describe-bindings' also accepts an optional argument PREFIX which
  4858. means to describe only the keys that start with PREFIX.
  4859.  
  4860. ** The variable `prefix-help-command' hold a command to run to display help
  4861. whenever the character `help-char' follows a prefix key and does not have
  4862. a key binding in that context.
  4863.  
  4864. ** Emacs now detects double- and triple-mouse clicks.  A single mouse
  4865. click produces a pair events of the form:
  4866.     (down-mouse-N POSITION)
  4867.     (mouse-N POSITION)
  4868. Clicking the same mouse button again, soon thereafter and at the same
  4869. location, produces another pair of events of the form:
  4870.     (down-mouse-N POSITION)
  4871.     (double-mouse-N POSITION 2)
  4872. Another click will produce an event pair of the form:
  4873.     (down-mouse-N POSITION)
  4874.     (triple-mouse-N POSITION 3)
  4875. All the POSITIONs in such a sequence would be identical, except for
  4876. their timestamps.
  4877.  
  4878. To count as double- and triple-clicks, mouse clicks must be at the
  4879. same location as the first click, and the number of milliseconds
  4880. between the first release and the second must be less than the value
  4881. of the lisp variable `double-click-time'.  Setting `double-click-time'
  4882. to nil disables multi-click detection.  Setting it to t removes the
  4883. time limit; Emacs then detects multi-clicks by position only.
  4884.  
  4885. If `read-key-sequence' finds no binding for a double-click event, but
  4886. the corresponding single-click event would be bound,
  4887. `read-key-sequence' demotes it to a single-click.  Similarly, it
  4888. demotes unbound triple-clicks to double- or single-clicks.  This means
  4889. you don't have to distinguish between single- and multi-clicks if you
  4890. don't want to.
  4891.  
  4892. Emacs reports all clicks after the third as `triple-mouse-N' clicks,
  4893. but increments the click count after POSITION.  For example, a fourth
  4894. click, soon after the third and at the same location, produces a pair
  4895. of events of the form:
  4896.     (down-mouse-N POSITION)
  4897.     (triple-mouse-N POSITION 4)
  4898.  
  4899. ** The way Emacs reports positions of mouse events has changed
  4900. slightly.  If a mouse event includes a position list of the form:
  4901.     (WINDOW (PLACE-SYMBOL) (COLUMN . ROW) TIMESTAMP)
  4902. this denotes exactly the same position as the list:
  4903.     (WINDOW  PLACE-SYMBOL  (COLUMN . ROW) TIMESTAMP)
  4904. That is, the event occurred over a non-textual area of the frame,
  4905. specified by PLACE-SYMBOL, a symbol like `mode-line' or
  4906. `vertical-scroll-bar'.
  4907.  
  4908. Enclosing PLACE-SYMBOL in a singleton list does not change the
  4909. position denoted, but the `read-key-sequence' function uses the
  4910. presence or absence of the singleton list to tell whether or not it
  4911. should prefix the event with its place symbol.
  4912.  
  4913. Normally, `read-key-sequence' prefixes mouse events occurring over
  4914. non-textual areas with their PLACE-SYMBOLs, to select the sub-keymap
  4915. appropriate for the event; for example, clicking on the mode line
  4916. produces a sequence like
  4917.     [mode-line (mouse-1 POSN)]
  4918. However, if lisp code elects to unread the resulting key sequence by
  4919. placing it in the `unread-command-events' variable, it is important
  4920. that `read-key-sequence' not insert the prefix symbol again; that
  4921. would produce a malformed key sequence like
  4922.     [mode-line mode-line (mouse-1 POSN)]
  4923. For this reason, `read-key-sequence' encloses the event's PLACE-SYMBOL
  4924. in a singleton list when it first inserts the prefix, but doesn't
  4925. insert the prefix when processing events whose PLACE-SYMBOLs are
  4926. already thus enclosed.
  4927.  
  4928.  
  4929. * Changes in version 19.15.
  4930.  
  4931. ** `make-frame-visible', which uniconified frames, is now a command,
  4932. and thus may be bound to a key.  This makes sense because frames
  4933. respond to user input while iconified.
  4934.  
  4935. ** You can now use Meta mouse clicks to set and use the "secondary
  4936. selection".  You can drag M-Mouse-1 across the region you want to
  4937. select.  Or you can press M-Mouse-1 at one end and M-Mouse-3 at the
  4938. other (this also copies the text to the kill ring).  Repeating M-Mouse-3
  4939. again at the same place kills that text.
  4940.  
  4941. M-Mouse-2 kills the secondary selection.
  4942.  
  4943. Setting the secondary selection does not move point or the mark.  It
  4944. is possible to make a secondary selection that does not all fit on the
  4945. screen, by using M-Mouse-1 at one end, scrolling, then using M-Mouse-3
  4946. at the other end.
  4947.  
  4948. Emacs has only one secondary selection at any time.  Starting to set
  4949. a new one cancels any previous one.  The secondary selection displays
  4950. using a face named `secondary-selection'.
  4951.  
  4952. ** There's a new way to request use of Supercite (sc.el).  Do this:
  4953.  
  4954.     (add-hook 'mail-citation-hook 'sc-cite-original)
  4955.  
  4956. Currently this works with Rmail.  In the future, other Emacs based
  4957. mail-readers should be modified to understand this hook also.
  4958. In the mean time, you should keep doing what you have done in the past
  4959. for those other mail readers.
  4960.  
  4961. ** When a regular expression contains `\(...\)' inside a repetition
  4962. operator such as `*' or `+', and you ask about the range that was matched
  4963. using `match-beginning' and `match-end', the range you get corresponds
  4964. to the *last* repetition *only*.  In Emacs 18, you would get a range
  4965. corresponding to all the repetitions.
  4966.  
  4967. If you want to get a range corresponding to all the repetitions,
  4968. put a `\(...\)' grouping *outside* the repetition operator.  This
  4969. is the syntax that corresponds logically to the desired result, and
  4970. it works the same in Emacs 18 and Emacs 19.
  4971.  
  4972. (This change actually took place earlier, but we didn't know about it
  4973. and thus didn't document it.)
  4974.  
  4975. * Changes in version 19.14.
  4976.  
  4977. ** To modify read-only text, bind the variable `inhibit-read-only'
  4978. to a non-nil value.  If the value is t, then all reasons that might
  4979. make text read-only are inhibited (including `read-only' text properties).
  4980. If the value is a list, then a `read-only' property is inhibited
  4981. if it is `memq' in the list.
  4982.  
  4983. ** If you call `get-buffer-window' passing t as its second argument, it
  4984. will only search for windows on visible frames.  Previously, passing t
  4985. as the secord argument caused `get-buffer-window' to search all
  4986. frames, visible or not.
  4987.  
  4988. ** If you call `other-buffer' with a nil or omitted second argument, it
  4989. will ignore buffers displayed windows on any visible frame, not just
  4990. the selected frame.
  4991.  
  4992. ** You can specify a window or a frame for C-x # to use when
  4993. selects a server buffer.  Set the variable server-window
  4994. to the window or frame that you want.
  4995.  
  4996. ** The command M-( now inserts spaces outside the open-parentheses in
  4997. some cases--depending on the syntax classes of the surrounding
  4998. characters.  If the variable `parens-dont-require-spaces' is non-nil,
  4999. it inhibits insertion of these spaces.
  5000.  
  5001. ** The GUD package now supports the debugger known as xdb on HP/UX
  5002. systems.  Use M-x xdb.  The variable `gud-xdb-directories' lets you
  5003. specify a list of directories to search for source code.
  5004.  
  5005. ** If you are using the mailabbrev package, you should note that its
  5006. function for defining an alias is now called `define-mail-abbrev'.
  5007. This package no longer contains a definition for `define-mail-alias';
  5008. that name is used only in mailaliases.
  5009.  
  5010. ** Inserted characters now inherit the properties of the text before
  5011. them, by default, rather than those of the following text.
  5012.  
  5013. ** The function `insert-file-contents' now takes optional arguments BEG
  5014. and END that specify which part of the file to insert.  BEG defaults to
  5015. 0 (the beginning of the file), and END defaults to the end of the file.
  5016.  
  5017. If you specify BEG or END, then the argument VISIT must be nil.
  5018.  
  5019. * Changes in version 19.13.
  5020.  
  5021. ** Magic file names can now handle the `load' operation.
  5022.  
  5023. ** Bibtex mode now sets up special entries in the menu bar.
  5024.  
  5025. ** The incremental search commands C-w and C-y, which copy text from
  5026. the buffer into the search string, now convert it to lower case
  5027. if you are in a case-insensitive search.  This is to avoid making
  5028. the search a case-sensitive one.
  5029.  
  5030. ** GNUS now knows your time zone automatically if Emacs does.
  5031.  
  5032. ** Hide-ifdef mode no longer defines keys of the form
  5033. C-c LETTER, since those keys are reserved for users.
  5034. Those commands have been moved to C-c M-LETTER.
  5035. We may move them again for greater consistency with other modes.
  5036.  
  5037. * Changes in version 19.12.
  5038.  
  5039. ** You can now make many of the sort commands ignore case by setting
  5040. `sort-fold-case' to a non-nil value.
  5041.  
  5042. * Changes in version 19.11.
  5043.  
  5044. ** Supercite is installed.
  5045.  
  5046. ** `write-file-hooks' functions that return non-nil are responsible
  5047. for making a backup file if you want that to be done.
  5048. To do so, execute the following code:
  5049.  
  5050.    (or buffer-backed-up (backup-buffer))
  5051.  
  5052. You might wish to save the file modes value returned by
  5053. `backup-buffer' and use that to set the mode bits of the file
  5054. that you write.  This is what `basic-save-buffer' does when
  5055. it writes a file in the usual way.
  5056.  
  5057. (This is not actually new, but wasn't documented before.)
  5058.  
  5059. * Changes in version 19.10.
  5060.  
  5061. ** The command `repeat-complex-command' is now on C-x ESC ESC.
  5062. It used to be bound to C-x ESC.
  5063.  
  5064. The reason for this change is to make function keys work after C-x.
  5065.  
  5066. ** The variable `highlight-nonselected-windows' now controls whether
  5067. the region is highlighted in windows other than the selected window
  5068. (in Transient Mark mode only, of course, and currently only when
  5069. using X).
  5070.  
  5071. * Changes in version 19.8.
  5072.  
  5073. ** It is now simpler to tell Emacs to display accented characters under
  5074. X windows.  M-x standard-display-european toggles the display of
  5075. buffer text according to the ISO Latin-1 standard.  With a prefix
  5076. argument, this command enables European character display iff the
  5077. argument is positive.
  5078.  
  5079. ** The `-i' command-line argument tells Emacs to use a picture of the
  5080. GNU gnu as its icon, instead of letting the window manager choose an
  5081. icon for it.  This option used to insert a file into the current
  5082. buffer; use `-insert' to do that now.
  5083.  
  5084. ** The `configure' script now supports `--prefix' and `--exec-prefix'
  5085. options.
  5086.  
  5087. The `--prefix=PREFIXDIR' option specifies where the installation process
  5088. should put emacs and its data files.  This defaults to `/usr/local'.
  5089. - Emacs (and the other utilities users run) go in PREFIXDIR/bin
  5090.   (unless the `--exec-prefix' option says otherwise).
  5091. - The architecture-independent files go in PREFIXDIR/lib/emacs/VERSION
  5092.   (where VERSION is the version number of Emacs, like `19.7').
  5093. - The architecture-dependent files go in
  5094.   PREFIXDIR/lib/emacs/VERSION/CONFIGURATION
  5095.   (where CONFIGURATION is the configuration name, like mips-dec-ultrix4.2),
  5096.   unless the `--exec-prefix' option says otherwise.
  5097.  
  5098. The `--exec-prefix=EXECDIR' option allows you to specify a separate
  5099. portion of the directory tree for installing architecture-specific
  5100. files, like executables and utility programs.  If specified,
  5101. - Emacs (and the other utilities users run) go in EXECDIR/bin, and
  5102. - The architecture-dependent files go in
  5103.   EXECDIR/lib/emacs/VERSION/CONFIGURATION.
  5104. EXECDIR/bin should be a directory that is normally in users' PATHs.
  5105.  
  5106. ** When running under X, the new lisp function `x-list-fonts'
  5107. allows code to find out which fonts are available from the X server.
  5108. The first argument PATTERN is a string, perhaps with wildcard characters;
  5109.   the * character matches any substring, and
  5110.   the ? character matches any single character.
  5111.   PATTERN is case-insensitive.
  5112. If the optional arguments FACE and FRAME are specified, then
  5113. `x-list-fonts' returns only fonts the same size as FACE on FRAME.
  5114.  
  5115.  
  5116.  
  5117. * Changes in version 19.
  5118.  
  5119. ** When you kill buffers, Emacs now returns memory to the operating system,
  5120. thus reducing the size of the Emacs process.  All the space that you free
  5121. up by killing buffers can now be reused for other buffers no matter what
  5122. their sizes, or reused by other processes if Emacs doesn't need it.
  5123.  
  5124. ** Emacs now does garbage collection and auto saving while it is waiting
  5125. for input, which often avoids the need to do these things while you
  5126. are typing.
  5127.  
  5128. The variable `auto-save-timeout' says how many seconds Emacs should
  5129. wait, after you stop typing, before it does an auto save and a garbage
  5130. collection.
  5131.  
  5132. ** If auto saving detects that a buffer has shrunk greatly, it refrains
  5133. from auto saving that buffer and displays a warning.  Now it also turns
  5134. off Auto Save mode in that buffer, so that you won't get the same
  5135. warning again.
  5136.  
  5137. If you reenable Auto Save mode in that buffer, Emacs will start saving
  5138. it again with no further warnings.
  5139.  
  5140. ** A new minor mode called Line Number mode displays the current line
  5141. number in the mode line, updating it as necessary when you move
  5142. point.
  5143.  
  5144. However, if the buffer is very large (larger than the value of
  5145. `line-number-display-limit'), then the line number doesn't appear.
  5146. This is because computing the line number can be painfully slow if the
  5147. buffer is very large.
  5148.  
  5149. ** You can quit while Emacs is waiting to read or write files.
  5150.  
  5151. ** The arrow keys now have default bindings to move in the appropriate
  5152. directions. 
  5153.  
  5154. ** You can suppress next-line's habit of inserting a newline when
  5155. called at the end of a buffer by setting next-line-add-newlines to nil
  5156. (it defaults to t).
  5157.  
  5158. ** You can now get back recent minibuffer inputs conveniently.  While
  5159. in the minibuffer, type M-p to fetch the next earlier minibuffer
  5160. input, and use M-n to fetch the next later input.
  5161.  
  5162. There are also commands to search forward or backward through the
  5163. history for history elements that match a regular expression.  M-r
  5164. searches older elements in the history, while M-s searches newer
  5165. elements.  By special dispensation, these commands can always use the
  5166. minibuffer to read their arguments even though you are already in the
  5167. minibuffer when you issue them.
  5168.  
  5169. The history feature is available for all uses of the minibuffer, but
  5170. there are separate history lists for different kinds of input.  For
  5171. example, there is a list for file names, used by all the commands that
  5172. read file names.  There is a list for arguments of commands like
  5173. `query-replace'.  There are also very specific history lists, such
  5174. as the one that `compile' uses for compilation commands.
  5175.  
  5176. ** You can now display text in a mixture of fonts and colors, using the
  5177. "face" feature, together with the overlay and text property features.
  5178. See the Emacs Lisp manual for details.  The Emacs Users Manual describes
  5179. how to change the colors and font of standard predefined faces.
  5180.  
  5181. ** You can refer to files on other machines using special file name syntax:
  5182.  
  5183. /HOST:FILENAME
  5184. /USER@HOST:FILENAME
  5185.  
  5186. When you do this, Emacs uses the FTP program to read and write files on
  5187. the specified host.  It logs in through FTP using your user name or the
  5188. name USER.  It may ask you for a password from time to time; this
  5189. is used for logging in on HOST.
  5190.  
  5191. ** Some C-x key bindings have been moved onto new prefix keys.
  5192.  
  5193. C-x r is a prefix for registers and rectangles.
  5194. C-x n is a prefix for narrowing.
  5195. C-x a is a prefix for abbrev commands.
  5196.  
  5197. C-x r C-SPC
  5198. C-x r SPC    point-to-register    (Was C-x /)
  5199. C-x r j        jump-to-register     (Was C-x j)
  5200. C-x r s        copy-to-register     (Was C-x x)
  5201. C-x r i        insert-register      (Was C-x g)
  5202. C-x r r        copy-rectangle-to-register  (Was C-x r)
  5203. C-x r k        kill-rectangle
  5204. C-x r y        yank-rectangle
  5205. C-x r o        open-rectangle
  5206. C-x r f        frame-configuration-to-register
  5207.           (This saves the state of all windows in all frames.)
  5208. C-x r w        window-configuration-to-register
  5209.           (This saves the state of all windows in the selected  frame.)
  5210.  
  5211. (Use C-x r j to restore a configuration saved with C-x r f or C-x r w.)
  5212.  
  5213. C-x n n        narrow-to-region    (Was C-x n)
  5214. C-x n p        narrow-to-page        (Was C-x p)
  5215. C-x n w        widen            (Was C-x w)
  5216.  
  5217. C-x a l        add-mode-abbrev        (Was C-x C-a)
  5218. C-x a g        add-global-abbrev    (Was C-x +)
  5219. C-x a i l    inverse-add-mode-abbrev    (Was C-x C-h)
  5220. C-x a i g    inverse-add-global-abbrev  (Was C-x -)
  5221. C-x a e        expand-abbrev        (Was C-x ')
  5222.  
  5223. (The old key bindings C-x /, C-x j, C-x x and C-x g
  5224. have not yet been removed.)
  5225.  
  5226. ** You can put a file name in a register to be able to visit the file
  5227. quickly.  Do this:
  5228.  
  5229.    (set-register ?CHAR '(file . NAME))
  5230.  
  5231. where NAME is the file name as a string.  Then C-x r j CHAR finds that
  5232. file.
  5233.  
  5234. This is useful for files that you need to visit frequently,
  5235. but that you don't want to keep in buffers all the time.
  5236.  
  5237. ** The keys M-g (fill-region) and C-x a (append-to-buffer)
  5238. have been eliminated.
  5239.  
  5240. ** The new command `string-rectangle' inserts a specified string on
  5241. each line of the region-rectangle.
  5242.  
  5243. ** C-x 4 r is now `find-file-read-only-other-window'.
  5244.  
  5245. ** C-x 4 C-o is now `display-buffer', which displays a specified buffer
  5246. in another window without selecting it.
  5247.  
  5248. ** Picture mode has been substantially improved.  The picture editing commands
  5249. now arrange for automatic horizontal scrolling to keep point visible
  5250. when editing a wide buffer with truncate-lines on.  Picture-mode
  5251. initialization now does a better job of rebinding standard commands;
  5252. it finds not just their normal keybindings, but any function keys
  5253. attached to them.
  5254.  
  5255. ** If you enable Transient Mark mode, then the mark becomes "inactive"
  5256. after every command that modifies the buffer.  While the mark is
  5257. active, the region is highlighted (under X, at least).  Most commands
  5258. that use the mark give an error if the mark is inactive, but you can
  5259. use C-x C-x to make it active again.  This feature is also sometimes
  5260. known as "Zmacs mode".
  5261.  
  5262. ** Outline mode is now available as a minor mode.  This minor mode can
  5263. combine with any major mode; it substitutes the C-c commands of
  5264. Outline mode for those of the major mode.  Use M-x outline-minor-mode
  5265. to enable and disable the new mode.
  5266.  
  5267. M-x outline-mode is unchanged; it still switches to Outline mode as a
  5268. major mode.
  5269.  
  5270. ** The default setting of `version-control' comes from the environment
  5271. variable VERSION_CONTROL.
  5272.  
  5273. ** The user option for controlling whether files can set local
  5274. variables is now called `enable-local-variables'.  A value of t means
  5275. local-variables lists are obeyed; nil means they are ignored; anything
  5276. else means query the user.
  5277.  
  5278. The user option for controlling use of the `eval' local variable is
  5279. now called is `enable-local-eval'; its values are interpreted like
  5280. those of `enable-local-variables'.
  5281.  
  5282. ** X Window System changes:
  5283.  
  5284. C-x 5 C-f and C-x 5 b switch to a specified file or buffer in a new
  5285. frame.  Likewise, C-x 5 m starts outgoing mail in another frame, and
  5286. C-x 5 . finds a tag in another frame.
  5287.  
  5288. When you are using X, C-z now iconifies the selected frame.
  5289.  
  5290. Emacs can now exchange text with other X applications.  Killing or
  5291. copying text in Emacs now makes that text available for pasting into
  5292. other X applications.  The Emacs yanking commands now insert the
  5293. latest selection set by other applications, and add the text to the
  5294. kill ring.  The Emacs commands for selecting and inserting text with
  5295. the mouse now use the kill ring in the same way the keyboard killing
  5296. and yanking commands do.
  5297.  
  5298. The option to specify the title for the initial frame is now `-name NAME'.
  5299. There is currently no way to specify an icon title; perhaps we will add
  5300. one in the future.
  5301.  
  5302. ** Undoing a deletion now puts point back where it was before the
  5303. deletion.
  5304.  
  5305. ** The variables that control how much undo information to save have
  5306. been renamed to `undo-limit' and `undo-strong-limit'.  They used to be
  5307. called `undo-threshold' and `undo-high-threshold'.
  5308.  
  5309. ** You can now use kill commands in read-only buffers.  They don't
  5310. actually change the buffer, and Emacs will beep and warn you that the
  5311. buffer is read-only, but they do copy the text you tried to kill into
  5312. the kill ring, so you can yank it into other buffers.
  5313.  
  5314. ** C-o inserts the fill-prefix on the newly created line.  The command
  5315. M-^ deletes the prefix (if it occurs) after the newline that it
  5316. deletes.
  5317.  
  5318. ** C-M-l now runs the command `reposition-window'.  It scrolls the
  5319. window heuristically in a way designed to get useful information onto
  5320. the screen.
  5321.  
  5322. ** C-M-r is now reverse incremental regexp search.
  5323.  
  5324. ** M-z now kills through the target character.  In version 18, it
  5325. killed up to but not including the target character.
  5326.  
  5327. ** M-! now runs the specified shell command asynchronously if it
  5328. ends in `&' (just as the shell does).
  5329.  
  5330. ** C-h C-f and C-h C-k are new help commands that display the Info
  5331. node for a given Emacs function name or key sequence, respectively.
  5332.  
  5333. ** The C-h p command system lets you find Emacs Lisp packages by
  5334. topic keywords.  Here is a partial list of package categories:
  5335.  
  5336. abbrev          abbreviation handling, typing shortcuts, macros
  5337. bib          code related to the bib bibliography processor
  5338. c          C and C++ language support
  5339. calendar      calendar and time management support
  5340. comm          communications, networking, remote access to files
  5341. docs          support for Emacs documentation
  5342. emulations    emulations of other editors
  5343. extensions    Emacs Lisp language extensions
  5344. games          games, jokes and amusements
  5345. hardware      support for interfacing with exotic hardware
  5346. help          support for on-line help systems
  5347. i14n          internationalization and alternate character-set support
  5348. internal      code for Emacs internals, build process, defaults
  5349. languages     specialized modes for editing programming languages
  5350. lisp          Lisp support, including Emacs Lisp
  5351. local          code local to your site
  5352. maint          maintenance aids for the Emacs development group
  5353. mail          modes for electronic-mail handling
  5354. news          support for netnews reading and posting
  5355. processes     process, subshell, compilation, and job control support
  5356. terminals     support for terminal types
  5357. tex          code related to the TeX formatter
  5358. tools          programming tools
  5359. unix          front-ends/assistants for, or emulators of, UNIX features
  5360. vms          support code for vms
  5361. wp          word processing
  5362.  
  5363. More will be added soon.
  5364.  
  5365. ** The command to split a window into two side-by-side windows is now
  5366. C-x 3.  It was C-x 5.
  5367.  
  5368. ** M-. (find-tag) no longer has any effect on what M-, will do
  5369. subsequently.  You can no longer use M-, to find the next similar tag;
  5370. you must use M-. with a prefix argument, instead.
  5371.  
  5372. The motive for this change is so that you can more reliably use
  5373. M-, to resume a suspended `tags-search' or `tags-query-replace'.
  5374.  
  5375. ** C-x s (`save-some-buffers') now gives you more options when it asks
  5376. whether to save a particular buffer.  In addition to `y' or `n', you
  5377. can answer `!' to save all the remaining buffers, `.' to save this
  5378. buffer but not save any others, ESC to stop saving and exit the
  5379. command, and C-h to get help.  These options are analogous to those 
  5380. of `query-replace'.
  5381.  
  5382. ** M-x make-symbolic-link does not expand its first argument.
  5383. This lets you make a link with a target that is a relative file name.
  5384.  
  5385. ** M-x add-change-log-entry and C-x 4 a now automatically insert the
  5386. name of the file and often the name of the function that you changed.
  5387. They also handle grouping of entries.
  5388.  
  5389. There is now a special major mode for editing ChangeLog files.  It
  5390. makes filling work conveniently.  Each bunch of grouped entries is one
  5391. paragraph, and each collection of entries from one person on one day
  5392. is considered a page.
  5393.  
  5394. ** The `comment-region' command adds comment delimiters to the lines that
  5395. start in the region, thus commenting them out.  With a negative argument,
  5396. it deletes comment delimiters from the lines in the region--this cancels
  5397. the effect of `comment-region' without an argument.
  5398.  
  5399. With a positive argument, `comment-region' adds comment delimiters
  5400. but duplicates the last character of the comment start sequence as many
  5401. times as the argument specifies.  This is a way of calling attention to
  5402. the comment.  In Lisp, you should use an argument at least two, because
  5403. the indentation convention for single semicolon comments does not leave
  5404. them at the beginning of a line.
  5405.  
  5406. ** If `split-window-keep-point' is non-nil, C-x 2 tries to avoid
  5407. shifting any text on the screen by putting point in whichever window
  5408. happens to contain the screen line the cursor is already on.
  5409. The default is that `split-window-keep-point' is non-nil on slow
  5410. terminals.
  5411.  
  5412. ** M-x super-apropos is like M-x apropos except that it searches both
  5413. Lisp symbol names and documentation strings for matches.  It describes
  5414. every symbol that has a match in either the symbol's name or its
  5415. documentation.
  5416.  
  5417. Both M-x apropos and M-x super-apropos take an optional second
  5418. argument DO-ALL which controls the more expensive part of the job.
  5419. This includes looking up and printing the key bindings of all
  5420. commands.  It also includes checking documentation strings in
  5421. super-apropos.  DO-ALL is nil by default; use a prefix arg to make it
  5422. non-nil.
  5423.  
  5424. ** M-x revert-buffer no longer offers to revert from a recent auto-save
  5425. file unless you give it a prefix argument.  Otherwise it always
  5426. reverts from the real file regardless of whether there has been an
  5427. auto-save since thenm.  (Reverting from the auto-save file is no longer
  5428. very useful now that the undo capacity is larger.)
  5429.  
  5430. ** M-x recover-file no longer turns off Auto Save mode when it reads
  5431. the last Auto Save file.
  5432.  
  5433. ** M-x rename-buffer, if you give it a prefix argument,
  5434. avoids errors by modifying the new name to make it unique.
  5435.  
  5436. ** M-x rename-uniquely renames the current buffer to a similar name
  5437. with a numeric suffix added to make it both different and unique.
  5438.  
  5439. One use of this command is for creating multiple shell buffers.
  5440. If you rename your shell buffer, and then do M-x shell again, it
  5441. makes a new shell buffer.  This method is also good for mail buffers,
  5442. compilation buffers, and any Emacs feature which creates a special
  5443. buffer with a particular name.
  5444.  
  5445. ** M-x compare-windows with a prefix argument ignores changes in whitespace.
  5446. If `compare-ignore-case' is non-nil, then differences in case are also
  5447. ignored.
  5448.  
  5449. ** `backward-paragraph' is now bound to M-{ by default, and `forward-paragraph'
  5450. to M-}.  Originally, these commands were bound to M-[ and M-], but they were
  5451. running into conflicts with the use of function keys.  On many terminals,
  5452. function keys send a sequence beginning ESC-[, so many users have defined this
  5453. as a prefix key.
  5454.  
  5455. ** C-x C-u (upcase-region) and C-x C-l (downcase-region) are now disabled by
  5456. default; these commands seem to be often hit by accident, and can be
  5457. quite destructive if their effects are not noticed immediately.
  5458.  
  5459. ** The function `erase-buffer' is now interactive, but disabled by default.
  5460.  
  5461. ** When visiting a new file, Emacs attempts to abbreviate the file's
  5462. path using the symlinks listed in `directory-abbrev-alist'.
  5463.  
  5464. ** When you visit the same file in under two names that translate into
  5465. the same name once symbolic links are handled, Emacs warns you that
  5466. you have two buffers for the same file.
  5467.  
  5468. ** If you wish to avoid visiting the same file in two buffers under
  5469. different names, set the variable `find-file-existing-other-name'
  5470. non-nil.  Then `find-file' uses the existing buffer visiting the file,
  5471. no matter which of the file's names you specify.
  5472.  
  5473. ** If you set `find-file-visit-truename' non-nil, then the file name
  5474. recorded for a buffer is the file's truename (in which all symbolic
  5475. links have been removed), rather than the name you specify.  Setting
  5476. `find-file-visit-truename' also implies the effect of
  5477. `find-file-existing-other-name'.
  5478.  
  5479. ** C-x C-v now inserts the entire current file name in the minibuffer.
  5480. This is convenient if you made a small mistake in typing it.  Point
  5481. goes after the last slash, before the last file name component, so if
  5482. you want to replace it entirely, you can use C-k right away to delete
  5483. it.
  5484.  
  5485. ** Commands such as C-M-f in Lisp mode now ignore parentheses within comments.
  5486.  
  5487. ** C-x q now uses ESC to terminate all iterations of the keyboard
  5488. macro, rather than C-d as before.
  5489.  
  5490. ** Use the command `setenv' to set an individual environment variable
  5491. for Emacs subprocesses.  Specify a variable name and a value, both as
  5492. strings.  This command applies only to subprocesses yet to be
  5493. started.
  5494.  
  5495. ** Use `rot13-other-window' to examine a buffer with rot13.
  5496.  
  5497. This command does not change the text in the buffer.  Instead, it
  5498. creates a window with a funny display table that applies the code when
  5499. displaying the text.
  5500.  
  5501. ** The command `M-x version' now prints the current Emacs version; The
  5502. `version' command is an alias for the `emacs-version' command.
  5503.  
  5504. ** More complex changes in existing packages.
  5505.  
  5506. *** `fill-nonuniform-paragraphs' is a new command, much like
  5507. `fill-individual-paragraphs' except that only separator lines separate
  5508. paragraphs.  Since this means that the lines of one paragraph may have
  5509. different amounts of indentation, the fill prefix used is the smallest
  5510. amount of indentation of any of the lines of the paragraph.
  5511.  
  5512. *** Filling is now partially controlled by a new minor mode, Adaptive
  5513. Fill mode.  When this mode is enabled (and it is enabled by default),
  5514. if you use M-x fill-region-as-paragraph on an indented paragraph and
  5515. you don't have a fill prefix, it uses the indentation of the second
  5516. line of the paragraph as the fill prefix.
  5517.  
  5518. Adaptive Fill mode doesn't have much effect on M-q in most major
  5519. modes, because an indented line will probably count as a paragraph
  5520. starter and thus each line of an indented paragraph will be considered
  5521. a paragraph of its own.
  5522.  
  5523. *** M-q in C mode now runs `c-fill-paragraph', which is designed
  5524. for filling C comments.  (We assume you don't want to fill
  5525. the code in a C program.)
  5526.  
  5527. *** M-$ now runs the Ispell program instead of the Unix spell program.
  5528.  
  5529. M-$ starts an Ispell process the first time you use it.  But the process
  5530. stays alive, so that subsequent uses of M-$ run very fast.
  5531. If you want to get rid of the process, use M-x kill-ispell.
  5532.  
  5533. To check the entire current buffer, use M-x ispell-buffer.
  5534. Use M-x ispell-region to check just the current region.
  5535.  
  5536. Ispell commands often involve interactive replacement of words.
  5537. You can interrupt the interactive replacement with C-g.
  5538. You can restart it again afterward with C-u M-$.
  5539.  
  5540. During interactive replacement, you can type the following characters:
  5541.  
  5542. a    Accept this word this time.
  5543. DIGIT    Replace the word (this time) with one of the displayed near-misses.
  5544.     The digit you use says which near-miss to use.
  5545. i    Insert this word in your private dictionary
  5546.       so that Ispell will consider it correct it from now on.
  5547. r    Replace the word this time with a string typed by you.
  5548.  
  5549. When the Ispell process starts, it reads your private dictionary which
  5550. is the file `~/ispell.words'.  If you "insert" words with the `i' command,
  5551. these words are added to that file, but not right away--only at the end
  5552. of the interactive replacement process.
  5553.  
  5554. Use M-x reload-ispell to reload your private dictionary from
  5555. `~/ispell.words' if you edit it outside of Ispell.
  5556.  
  5557. ** Changes in existing modes.
  5558.  
  5559. *** gdb-mode has been replaced by gud-mode.
  5560.  
  5561. The package gud.el (Grand Unified Debugger) replaces gdb.el in Emacs
  5562. 19.  It provides a gdb.el-like interface to any of three debuggers;
  5563. gdb itself, the sdb debugger supported on some Unix systems, or the
  5564. dbx debugger on Berkeley systems.
  5565.  
  5566.    You start it up with one of the commands M-x gdb, M-x sdb, or
  5567. M-x dbx.  Each entry point finishes by executing a hook; gdb-mode-hook,
  5568. sdb-mode-hook or dbx-mode-hook respectively.
  5569.  
  5570. These bindings have changed:
  5571. C-x C-a >    gud-down            (was M-d)
  5572. C-x C-a <    gud-up                (was M-u)
  5573. C-x C-a C-r    gud-cont            (was M-c)
  5574. C-x C-a C-n    gud-next            (was M-n)
  5575. C-x C-a C-s    gud-step            (was M-s)
  5576. C-x C-a C-i     gud-stepi            (was M-i)
  5577. C-x C-a C-l    gud-recenter            (was C-l)
  5578. C-d        comint-delchar-or-maybe-eof    (was C-c C-d)
  5579.  
  5580. These bindings have been removed:
  5581. C-c C-r        (was comint-show-output; now gud-cont)
  5582.  
  5583. Since GUD mode uses comint, it uses comint's input history commands,
  5584. superseding C-c C-y (copy-last-shell-input):
  5585.   M-p        comint-next-input
  5586.   M-n        comint-previous-input
  5587.   M-r        comint-previous-similar-input
  5588.   M-s        comint-next-similar-input
  5589.   M-C-r        comint-previous-input-matching
  5590.  
  5591. The C-x C-a bindings are also active in source files.
  5592.  
  5593. *** The old TeX mode bindings of M-{ and M-} have been moved to C-c {
  5594. and C-c }.  (These commands are `up-list' and `tex-insert-braces';
  5595. they are the TeX equivalents of M-( and M-).)  This is because M-{ 
  5596. and M-} are now globally defined commands.
  5597.  
  5598. *** Changes in Mail mode.
  5599.  
  5600. `%' is now a word-separator character in Mail mode.
  5601.  
  5602. `mail-signature', if non-nil, tells M-x mail to insert your
  5603. `.signature' file automatically.  If you don't want your signature in
  5604. a particular message, just delete it before you send the message.
  5605.  
  5606. You can specify the text to insert at the beginning of each line when
  5607. you use C-c C-y to yank the message you are replying to.  Set
  5608. `mail-yank-prefix' to the desired string.  A value of `nil' (the
  5609. default) means to use indentation, as in Emacs 18.  If you use just
  5610. C-u as the prefix argument to C-c C-y, then it does not insert
  5611. anything at the beginning of the lines, regardless of the value of
  5612. `mail-yank-prefix'.
  5613.  
  5614. If you like, you can expand mail aliases as abbrevs, as soon as you
  5615. type them in.  To enable this feature, execute the following:
  5616.  
  5617.     (add-hook 'mail-setup-hook 'mail-abbrevs-setup)
  5618.  
  5619. This can go in your .emacs file.
  5620.  
  5621. Word abbrevs don't expand unless you insert a word-separator character
  5622. afterward.  Any mail aliases that you didn't expand at insertion time
  5623. are expanded subsequently when you send the message.
  5624.  
  5625. *** Changes in Rmail.
  5626.  
  5627. Rmail by default gets new mail only from the system inbox file,
  5628. not from `~/mbox'.
  5629.  
  5630. In Rmail, you can retry sending a message that failed
  5631. by typing `M-m' on the failure message.
  5632.  
  5633. By contrast, another new command M-x rmail-resend is used for
  5634. forwarding a message and marking it as "resent from" you
  5635. with header fields "Resent-From:" and "Resent-To:".
  5636.  
  5637. `e' is now the command to edit a message.
  5638. To expunge, type `x'.  We know this will surprise people
  5639. some of the time, but the surprise will not be disastrous--if
  5640. you type `e' meaning to expunge, just turn off editing with C-c C-c
  5641. and then type `x'.
  5642.  
  5643. Another new Rmail command is `<', which moves to the first message.
  5644. This is for symmetry with `>'.
  5645.  
  5646. Use the `b' command to bury the Rmail buffer and its summary buffer,
  5647. if any, removing both of them from display on the screen.
  5648.  
  5649. The variable `rmail-output-file-alist' now controls the default
  5650. for the file to output a message to.
  5651.  
  5652. In the Rmail summary buffer, all cursor motion commands select
  5653. the message you move to.  It's really neat when you use
  5654. incremental search.
  5655.  
  5656. You can now issue most Rmail commands from an Rmail summary buffer.
  5657. The commands do the same thing in that buffer that they do in the
  5658. Rmail buffer.  They apply to the message that is selected in the Rmail
  5659. buffer, which is always the one described by the current summary
  5660. line.
  5661.  
  5662. Conversely, motion and deletion commands in the Rmail buffer also
  5663. update the summary buffer.  If you set the variable
  5664. `rmail-redisplay-summary' to a non-nil value, then they bring the
  5665. summary buffer (if one exists) back onto the screen.
  5666.  
  5667. C-M-t is a new command to make a summary by topic.  It uses regexp
  5668. matching against just the subjects of the messages to decide which
  5669. messages to show in the summary.
  5670.  
  5671. You can easily convert an Rmail file to system mailbox format with the
  5672. command `unrmail'.  This command reads two arguments, the name of
  5673. the Rmail file to convert, and the name of the new mailbox file.
  5674. (This command does not change the Rmail file itself.)
  5675.  
  5676. Rmail now handles Content Length fields in messages.
  5677.  
  5678. *** `mail-extract-address-components' unpacks mail addresses.
  5679. It takes an address as a string (the contents of the From field, for
  5680. example) and returns a list of the form (FULL-NAME
  5681. CANONICAL-ADDRESS).
  5682.  
  5683. *** Changes in C mode and C-related commands.
  5684.  
  5685. **** M-x c-up-conditional
  5686.  
  5687. In C mode, `c-up-conditional' moves back to the containing
  5688. preprocessor conditional, setting the mark where point was
  5689. previously.
  5690.  
  5691. A prefix argument acts as a repeat count.  With a negative argument,
  5692. this command moves forward to the end of the containing preprocessor
  5693. conditional.  When going backwards, `#elif' acts like `#else' followed
  5694. by `#if'.  When going forwards, `#elif' is ignored.
  5695.  
  5696. **** In C mode, M-a and M-e are now defined as
  5697. `c-beginning-of-statement' and `c-end-of-statement'.
  5698.  
  5699. **** In C mode, M-x c-backslash-region is a new command to insert or
  5700. align `\' characters at the ends of the lines of the region, except
  5701. for the last such line.  This is useful after writing or editing a C
  5702. macro definition.
  5703.  
  5704. If a line already ends in `\', this command adjusts the amount of
  5705. whitespace before it.  Otherwise, it inserts a new `\'.
  5706.  
  5707. *** New features in info.
  5708.  
  5709. When Info looks for an Info file, it searches the directories
  5710. in `Info-directory-list'.  This makes it easy to install the Info files
  5711. that come with various packages.  You can specify the path with
  5712. the environment variable INFOPATH.
  5713.  
  5714. There are new commands in Info mode.
  5715.  
  5716. `]' now moves forward a node, going up and down levels as needed.
  5717. `[' is similar but moves backward.  These two commands try to traverse
  5718. the entire Info tree, node by node.  They are the equivalent of reading
  5719. a printed manual sequentially.
  5720.  
  5721. `<' moves to the top node of the current Info file.
  5722. `>' moves to the last node of the file.
  5723.  
  5724. SPC scrolls through the current node; at the end, it advances to the
  5725. next node in depth-first order (like `]').
  5726.  
  5727. DEL scrolls backwards in the current node; at the end, it moves to the
  5728. previous node in depth-first order (like `[').
  5729.  
  5730. After a menu select, the info `up' command now restores point in the
  5731. menu.  The combination of this and the previous two changes means that
  5732. repeated SPC keystrokes do the right (depth-first traverse forward) thing.
  5733.  
  5734. `i STRING RET' moves to the node associated with STRING in the index
  5735. or indices of this manual.  If there is more than one match for
  5736. STRING, the `i' command finds the first match.
  5737.  
  5738. `,' finds the next match for the string in the previous `i' command
  5739.  
  5740. If you click the middle mouse button near a cross-reference,
  5741. menu item or node pointer while in Info, you will go to the node
  5742. which is referenced.
  5743.  
  5744. *** Changes in M-x compile.
  5745.  
  5746. You can repeat any previous compilation command conveniently using the
  5747. minibuffer history commands, while in the minibuffer entering the
  5748. compilation command.
  5749.  
  5750. While a compilation is going on, the string `Compiling' appears in
  5751. the mode line.  When this string disappears, that tells you the
  5752. compilation is finished.
  5753.  
  5754. The buffer of compiler messages is in Compilation mode.  This mode
  5755. provides the keys SPC and DEL to scroll by screenfuls, and M-n and M-p
  5756. to move to the next or previous error message.  You can also use C-c
  5757. C-c on any error message to find the corresponding source code.
  5758.  
  5759. Emacs 19 has a more general parser for compiler messages.  For example, it
  5760. can understand messages from lint, and from certain C compilers whose error
  5761. message format is unusual.  Also, it only parses until it sees the error
  5762. message you want; you never have to wait a long time to see the first
  5763. error, no matter how big the buffer is.
  5764.  
  5765. *** M-x diff and M-x diff-backup.
  5766.  
  5767. This new command compares two files, displaying the differences in an
  5768. Emacs buffer.  The options for the `diff' program come from the
  5769. variable `diff-switches', whose value should be a string.
  5770.  
  5771. The buffer of differences has Compilation mode as its major mode, so you
  5772. can use C-x ` to visit successive changed locations in the two
  5773. source files, or you can move to a particular hunk of changes and type
  5774. C-c C-c to move to the corresponding source.  You can also use the
  5775. other special commands of Compilation mode: SPC and DEL for
  5776. scrolling, and M-n and M-p for cursor motion.
  5777.  
  5778. M-x diff-backup compares a file with its most recent backup.
  5779. If you specify the name of a backup file, `diff-backup' compares it
  5780. with the source file that it is a backup of.
  5781.  
  5782. *** The View commands (such as M-x view-buffer and M-x view-file) no
  5783. longer use recursive edits; instead, they switch temporarily to a
  5784. different major mode (View mode) specifically designed for moving
  5785. around through a buffer without editing it.
  5786.  
  5787. *** Changes in incremental search.
  5788.  
  5789. **** The character to terminate an incremental search is now RET.
  5790. This is for compatibility with the way most other arguments are read.
  5791.  
  5792. To search for a newline in an incremental search, type LFD (also known
  5793. as C-j).
  5794.  
  5795. **** Incremental search now maintains a ring of previous search
  5796. strings.  Use M-p and M-n to move through the ring to pick a search
  5797. string to reuse.  These commands leave the selected search ring
  5798. element in the minibuffer, where you can edit it.  Type C-s or C-r to
  5799. finish editing and search for the chosen string.
  5800.  
  5801. **** If you type an upper case letter in incremental search, that turns
  5802. off case-folding, so that you get a case-sensitive search.
  5803.  
  5804. **** If you type a space during regexp incremental search, it matches
  5805. any sequence of whitespace characters.  If you want to match just a space,
  5806. type C-q SPC.
  5807.  
  5808. **** Incremental search is now implemented as a major mode.  When you
  5809. type C-s, it switches temporarily to a different keymap which defines
  5810. each key to do what it ought to do for incremental search.  This has
  5811. next to no effect on the user-visible behavior of searching, but makes
  5812. it easier to customize that behavior.
  5813.  
  5814. Emacs 19 eliminates the old variables `search-...-char' that used to
  5815. be the way to specify the characters to use for various special
  5816. purposes in incremental search.  Instead, you can define the meaning
  5817. of a character in incremental search by modifying `isearch-mode-map'.
  5818.  
  5819. *** New commands in Buffer Menu mode.
  5820.  
  5821. The command C-o now displays the current line's buffer in another
  5822. window but does not select it.  This is like the existing command `o'
  5823. which selects the current line's buffer in another window.
  5824.  
  5825. The command % toggles the read-only flag of the current line's buffer.
  5826.  
  5827. The way to switch to a set of several buffers, including those marked
  5828. with m, is now v.  The q command simply quits, replacing the buffer
  5829. menu buffer with the buffer that was displayed previously.
  5830.  
  5831. ** New major modes and packages.
  5832.  
  5833. *** The news reader GNUS is now installed.
  5834.  
  5835. *** There is a new interface for version control systems, called VC.
  5836. It works with both RCS and SCCS; in fact, you don't really have to
  5837. know which one of them is being used, because it automatically deals
  5838. with either one.
  5839.  
  5840. Most of the time, the only command you have to know about is C-x C-q.
  5841. This command normally toggles the read-only flag of the current
  5842. buffer.  If the buffer is visiting a file that is maintained with a
  5843. version control system, the command still toggles read-only, but does
  5844. so by checking the file in or checking it out.
  5845.  
  5846. When you check a file in, VC asks you for a log entry by popping up a
  5847. buffer.  Edit the entry there, then type C-c C-c when it is ready.
  5848. That's when the actual checkin happens.  If you change your mind about
  5849. the checkin, simply switch buffers and don't ever go back to the log
  5850. buffer.
  5851.  
  5852. To start using version control for a file, use the command C-x v v.
  5853. This works like C-x C-q (performing the next logical version-control
  5854. operation needed to change the file's writability) but it will also
  5855. perform initial checkin on an unregistered file.
  5856.  
  5857. By default, VC uses RCS if RCS is installed on your machine;
  5858. otherwise, SCCS.  If you want to make the choice explicitly, you can do
  5859. it by setting `vc-default-back-end' to the symbol `RCS' or the symbol
  5860. `SCCS'.
  5861.  
  5862. You can tell when a file you visit is maintained with version control
  5863. because either `RCS' or `SCCS' appears in the mode line.
  5864.  
  5865. *** A new Calendar mode has been added, the work of Edward M. Reingold.
  5866. The mode can display the Gregorian calendar and a variety of other
  5867. calendars at any date, and interacts with a diary facility similar to
  5868. the UNIX `calendar' utility.
  5869.  
  5870. *** There is a new major mode for editing binary files: Hexl mode.
  5871. To use it, use M-x hexl-find-file instead of C-x C-f to visit the file.
  5872. This command converts the file's contents to hexadecimal and lets you
  5873. edit the translation.  When you save the file, it is converted 
  5874. automatically back to binary.
  5875.  
  5876. You can also use M-x hexl-mode to translate an existing buffer into hex.
  5877. Do this if you have already visited a binary file.  
  5878.  
  5879. Hexl mode has a few other commands:
  5880.  
  5881. C-M-d    insert a byte with a code typed in decimal.
  5882. C-M-o    insert a byte with a code typed in octal.
  5883. C-M-x    insert a byte with a code typed in hex.
  5884.  
  5885. C-x [   move to the beginning of a 1k-byte "page".
  5886. C-x ]   move to the end of a 1k-byte "page".
  5887.  
  5888. M-g     go to an address specified in hex.
  5889. M-j    go to an address specified in decimal.
  5890.  
  5891. C-c C-c    leave hexl mode and go back to the previous major mode.
  5892.  
  5893. *** Miscellaneous new major modes include Awk mode, Icon mode, Makefile
  5894. mode, Perl mode and SGML mode.
  5895.  
  5896. *** Edebug, a new source-level debugger for Emacs Lisp functions.
  5897.  
  5898. To use Edebug, use the command M-x edebug-defun to "evaluate" a
  5899. function definition in an Emacs Lisp file.  We put "evaluate" in
  5900. quotation marks because it doesn't just evaluate the function, it also
  5901. inserts additional information to support source-level debugging.
  5902.  
  5903. You must also do
  5904.  
  5905.     (setq debugger 'edebug-debug)
  5906.  
  5907. to cause errors and single-stepping to use Edebug instead of the usual
  5908. Emacs Lisp debugger.
  5909.  
  5910. For more information, see the Edebug manual, which should be included
  5911. in the Emacs distribution.
  5912.  
  5913. *** C++ mode is like C mode, except that it understands C++ comment syntax
  5914. and certain other differences between C and C++.  It also has a command
  5915. `fill-c++-comment' which fills a paragraph made of comment lines.
  5916.  
  5917. The command `comment-region' is useful in C++ mode for commenting out
  5918. several consecutive lines, or removing the commenting out of such lines.
  5919.  
  5920. *** A new package for merging two variants of the same text.
  5921.  
  5922. It's not unusual for programmers to get their signals crossed and
  5923. modify the same program in two different directions.  Then somebody
  5924. has to merge the two versions.  The command `emerge-files' makes this
  5925. easier.
  5926.  
  5927. `emerge-files' reads two file names and compares them.  Then it
  5928. displays three buffers: one for each file, and one for the
  5929. differences.
  5930.  
  5931. If the original version of the file is available, you can make things
  5932. even easier using `emerge-files-with-ancestor'.  It reads three file
  5933. names--variant 1, variant 2, and the common ancestor--and uses diff3
  5934. to compare them.
  5935.  
  5936. You control the merging interactively.  The main loop of Emerge
  5937. consists of showing you one set of differences, asking you what to do
  5938. about them, and doing it.  You have a choice of two modes for giving
  5939. directions to Emerge: "fast" mode and "edit" mode.
  5940.  
  5941. In Fast mode, Emerge commands are single characters, and ordinary
  5942. Emacs commands are disabled.  This makes Emerge operations fast, but
  5943. prevents you from doing more than selecting the A or the B version of
  5944. differences.  In Edit mode, all emerge commands use the C-c prefix,
  5945. and the usual Emacs commands are available.  This allows editing the
  5946. merge buffer, but slows down Emerge operations.  Edit and fast modes
  5947. are indicated by `F' and `E' in the minor modes in the mode line.
  5948.  
  5949. The Emerge commands are:
  5950.  
  5951.     p    go to the previous difference
  5952.     n    go to the next difference
  5953.     a    select the A version of this difference
  5954.     b    select the B version of this difference
  5955.     j    go to a particular difference (prefix argument
  5956.         specifies which difference) (0j suppresses display of
  5957.         the flags)
  5958.     q    quit - finish the merge*
  5959.     f    go into fast mode
  5960.     e    go into edit mode
  5961.     l    recenter (C-l) all three windows*
  5962.     - and 0 through 9
  5963.         prefix numeric arguments
  5964.     d a    select the A version as the default from here down in
  5965.         the merge buffer*
  5966.     d b    select the B version as the default from here down in
  5967.         the merge buffer*
  5968.     c a    copy the A version of the difference into the kill
  5969.         ring
  5970.     c b    copy the B version of the difference into the kill
  5971.         ring
  5972.     i a    insert the A version of the difference at the point
  5973.     i b    insert the B version of the difference at the point
  5974.     m    put the point and mark around the difference region
  5975.     ^    scroll-down (like M-v) the three windows*
  5976.     v    scroll-up (like C-v) the three windows*
  5977.     <    scroll-left (like C-x <) the three windows*
  5978.     >    scroll-right (like C-x >) the three windows*
  5979.     |    reset horizontal scroll on the three windows*
  5980.     x 1    shrink the merge window to one line (use C-u l to restore it
  5981.         to full size)
  5982.     x a    find the difference containing a location in the A buffer*
  5983.     x b    find the difference containing a location in the B buffer*
  5984.     x c    combine the two versions of this difference*
  5985.     x C    combine the two versions of this difference, using a
  5986.         register's value as the template*
  5987.     x d    find the difference containing a location in the merge buffer*
  5988.     x f    show the files/buffers Emerge is operating on in Help window
  5989.         (use C-u l to restore windows)
  5990.     x j    join this difference with the following one
  5991.         (C-u x j joins this difference with the previous one)
  5992.     x l    show line numbers of points in A, B, and merge buffers
  5993.     x m    change major mode of merge buffer*
  5994.     x s    split this difference into two differences
  5995.         (first position the point in all three buffers to the places
  5996.         to split the difference)
  5997.     x t    trim identical lines off top and bottom of difference
  5998.         (such lines occur when the A and B versions are
  5999.         identical but differ from the ancestor version)
  6000.     x x    set the template for the x c command*
  6001.  
  6002. Normally, the merged output goes back in the first file specified.
  6003. If you use a prefix argument, Emerge reads another file name to use
  6004. for the output file.
  6005.  
  6006. Once Emerge has prepared the buffer of differences, it runs the hooks
  6007. in `emerge-startup-hooks'.
  6008.  
  6009. *** Asm mode is a new major mode for editing files of assembler code.
  6010. It defines these commands:
  6011.  
  6012. TAB    tab-to-tab-stop.
  6013. LFD    Insert a newline and then indent using tab-to-tab-stop.
  6014. :    Insert a colon and then remove the indentation
  6015.     from before the label preceding colon.  Then tab-to-tab-stop.
  6016. ;    Insert or align a comment.
  6017.  
  6018. *** Two-column mode lets you conveniently edit two side-by-side columns
  6019. of text.  It works using two side-by-side windows, each showing its
  6020. own buffer.
  6021.  
  6022. Here are three ways to enter two-column mode:
  6023.  
  6024. C-x 6 2 makes the current buffer into the left-hand buffer.  In the
  6025. right-hand window it puts a buffer whose name is based on the current
  6026. buffer's name.
  6027.  
  6028. C-x 6 b BUFFER RET makes the current buffer into the left-hand buffer,
  6029. and uses buffer BUFFER as the right-hand buffer.
  6030.  
  6031. C-x 6 s splits the current buffer, which contains two-column text,
  6032. into two side-by-side buffers.  The old current buffer becomes the
  6033. left-hand buffer, but the text in the right column is moved into the
  6034. right-hand buffer.  The current column specifies the split point.
  6035. Splitting starts with the current line and continues to the end of the
  6036. buffer.
  6037.  
  6038. C-x 6 s takes a prefix argument which specifies how many characters
  6039. before point constitute the column separator.  (The default argument
  6040. is 1, as usual, so by default the column separator is the character
  6041. before point.)  Lines that don't have the column separator at the
  6042. proper place remain unsplit; they stay in the left-hand buffer, and
  6043. the right-hand buffer gets an empty line to correspond.
  6044.  
  6045. You can scroll both buffers together using C-x 6 SPC (scroll up), C-x
  6046. 6 DEL (scroll down), and C-x 6 RET (scroll up one line).  C-x 6 C-l
  6047. recenters both buffers together.
  6048.  
  6049. If you want to make a line which will span both columns, put it in
  6050. the left-hand buffer, with an empty line in the corresponding place in
  6051. the right-hand buffer.
  6052.  
  6053. When you have edited both buffers as you wish, merge them with C-x 6
  6054. 1.  This copies the text from the right-hand buffer as a second column
  6055. in the other buffer.  To go back to two-column editing, use C-x 6 s.
  6056.  
  6057. Use C-x 6 d to disassociate the two buffers, leaving each as it
  6058. stands.  (If the other buffer, the one that was not current when you
  6059. type C-x 6 d, is empty, C-x 6 d kills it.)
  6060.  
  6061. *** You can supply command arguments such as files to visit to an Emacs
  6062. that is already running.  To do this, you must do this in your .emacs
  6063. file:
  6064.    (add-hook 'suspend-hook 'resume-suspend-hook)
  6065. Also you must use the shellscript emacs.csh or emacs.sh, found in the
  6066. etc subdirectory.
  6067.  
  6068. *** Shell mode has been completely replaced.
  6069. The basic idea is the same, but there are new commands available in
  6070. this mode.
  6071.       
  6072. TAB now completes the file name before point in the shell buffer.
  6073. To get a list of all possible completions, type M-?.
  6074.  
  6075. There is a new convenient history mechanism for repeating previous
  6076. commands.  Use the command M-p to recall the last command; it copies
  6077. the text of that command to the place where you are editing.  If you
  6078. repeat M-p, it replaces the copied command with the previous command.
  6079. M-n is similar but goes in the opposite direction towards the present.
  6080. When you find the command you wanted, you can edit it, or just
  6081. resubmit it by typing RET.
  6082.  
  6083. You can also use M-r and M-s to search for (respectively) earlier or 
  6084. later inputs starting with a given string.  First type the string, 
  6085. then type M-r to yank a previous input from the history which starts
  6086. with that string.  You can repeat M-r to find successively earlier
  6087. inputs starting with the same string.  You can start moving in the
  6088. opposite direction (toward more recent inputs) by typing M-s instead
  6089. of M-r.  As long as you don't use any commands except M-r and M-s,
  6090. they keep using the same string that you had entered initially.
  6091.  
  6092. C-c C-o kills the last batch of output from a shell command.  This is
  6093. useful if a shell command spews out lots of output that just gets in
  6094. the way.
  6095.  
  6096. C-c C-r scrolls to display the beginning of the last batch of output
  6097. at the top of the window; it also moves the cursor there.
  6098.  
  6099. C-a on a line that starts with a shell prompt moves to the end of the
  6100. prompt, not to the very beginning of the line.
  6101.  
  6102. C-d typed at the end of the shell buffer sends EOF to the subshell.
  6103. At any other position in the buffer, it deletes a character as usual.
  6104.  
  6105. If Emacs gets confused while trying to track changes in the shell's
  6106. current directory, type M-x dirs to re-synchronize.
  6107.  
  6108. M-x send-invisible reads a line of text without echoing it, and
  6109. sends it to the shell.
  6110.  
  6111. If you accidentally suspend your process, use M-x comint-continue-subjob 
  6112. to continue it.
  6113.          
  6114. *** There is now a convenient way to enable flow control on terminals
  6115. where you can't win without it.  Suppose you want to do this on
  6116. VT-100 and H19 terminals; put the following in your `.emacs' file:
  6117.  
  6118.    (enable-flow-control-on "vt100" "h19")
  6119.  
  6120. When flow control is enabled, you must type C-\ to get the effect of a
  6121. C-s, and type C-^ to get the effect of a C-q.
  6122.  
  6123. The function `enable-flow-control' enables flow control unconditionally.
  6124.  
  6125. ** Changes in Dired
  6126.  
  6127. Dired has many new features which allow you to do these things:
  6128.  
  6129. - Rename, copy, or make links to many files at once.
  6130.  
  6131. - Make distinguishable types of marks for different operations.
  6132.  
  6133. - Display contents of subdirectories in the same Dired buffer as the
  6134. parent directory.
  6135.  
  6136. *** Setting and Clearing Marks
  6137.  
  6138. There are now two kinds of marker that you can put on a file in Dired:
  6139. `D' for deletion, and `*' for any other kind of operation.
  6140. The `x' command deletes only files marked with `D', and most
  6141. other Dired commands operate only on the files marked with `*'.
  6142.  
  6143. To mark files with `D' (also called "flagging" the files), you
  6144. can use `d' as usual.  Here are some commands for marking with
  6145. `*' (and also for unmarking):
  6146.  
  6147. **** `m' marks the current file with `*', for an operation other than
  6148. deletion.
  6149.  
  6150. **** `*' marks all executable files.  With a prefix argument, it
  6151. unmarks all those files.
  6152.  
  6153. **** `@' marks all symbolic links.  With a prefix argument, it unmarks
  6154. all those files.
  6155.  
  6156. **** `/' marks all directory files except `.' and `..'.  With a prefix
  6157. argument, it unmarks all those files.
  6158.  
  6159. **** M-DEL removes a specific or all marks from every file.  With an
  6160. argument, queries for each marked file.  Type your help character,
  6161. usually C-h, at that time for help.
  6162.  
  6163. **** `c' replaces all marks that use the character OLD with marks that
  6164. use the character NEW.  You can use almost any character as a mark
  6165. character by means of this command, to distinguish various classes of
  6166. files.  If OLD is ` ', then the command operates on all unmarked
  6167. files; if NEW is ` ', then the command unmarks the files it acts on.
  6168.  
  6169. *** Operating on Multiple Files
  6170.  
  6171. The Dired commands to operate directly on files (rename them, copy
  6172. them, and so on) have been generalized to work on multiple files.
  6173. There are also some additional commands in this series.
  6174.  
  6175. All of these commands use the same convention to decide which files to
  6176. manipulate:
  6177.  
  6178. - If you give the command a numeric prefix argument @var{n}, it operates
  6179. on the next @var{n} files, starting with the current file.
  6180.  
  6181. - Otherwise, if there are marked files, the commands operate on all the
  6182. marked files.
  6183.  
  6184. - Otherwise, the command operates on the current file only.
  6185.  
  6186. These are the commands:
  6187.  
  6188. **** `C' copies the specified files.  You must specify a directory to
  6189. copy into, or (if copying a single file) a new name.
  6190.  
  6191. If `dired-copy-preserve-time' is non-`nil', then copying sets
  6192. the modification time of the new file to be the same as that of the old
  6193. file.
  6194.  
  6195. **** `R' renames the specified files.  You must specify a directory to
  6196. rename into, or (if renaming a single file) a new name.
  6197.  
  6198. Dired automatically changes the visited file name of buffers associated
  6199. with renamed files so that they refer to the new names.
  6200.  
  6201. **** `H' makes hard links to the specified files.  You must specify a
  6202. directory to make the links in, or (if making just one link) the name
  6203. to give the link.
  6204.  
  6205. **** `S' makes symbolic links to the specified files.  You must specify
  6206. a directory to make the links in, or (if making just one link) the
  6207. name to give the link.
  6208.  
  6209. **** `M' changes the mode of the specified files.  This calls the
  6210. `chmod' program, so you can describe the desired mode change with any
  6211. argument that `chmod' would handle.
  6212.  
  6213. **** `G' changes the group of the specified files.
  6214.  
  6215. **** `O' changes the owner of the specified files.  (On normal systems,
  6216. only the superuser can do this.)
  6217.  
  6218. The variable `dired-chown-program' specifies the name of the
  6219. program to use to do the work (different systems put `chown' in
  6220. different places.
  6221.  
  6222. **** `Z' compresses or uncompresses the specified files.
  6223.  
  6224. **** `L' loads the specified Emacs Lisp files.
  6225.  
  6226. **** `B' byte compiles the specified Emacs Lisp files.
  6227.  
  6228. **** `P' prints the specified files.  It uses the variables
  6229. `lpr-command' and `lpr-switches' just as `lpr-file' does.
  6230.  
  6231. *** Shell Commands in Dired
  6232.  
  6233. `!' reads a shell command string in the minibuffer and runs the shell
  6234. command on all the specified files.  There are two ways of applying a
  6235. shell command to multiple files:
  6236.  
  6237. - If you use `*' in the command, then the shell command runs just
  6238. once, with the list of file names substituted for the `*'.
  6239.  
  6240. Thus, `! tar cf foo.tar * RET' runs `tar' on the entire list of file
  6241. names, putting them into one tar file `foo.tar'.  The file names are
  6242. inserted in the order that they appear in the Dired buffer.
  6243.  
  6244. - If the command string doesn't contain `*', then it runs once for
  6245. each file, with the file name attached at the end.  For example, `!
  6246. uudecode RET' runs `uudecode' on each file.
  6247.  
  6248. To run the shell command once for each file but without being limited
  6249. to putting the file name inserted in the middle, use a shell loop.
  6250. For example, this shell command would run `uuencode' on each of the
  6251. specified files, writing the output into a corresponding `.uu' file:
  6252.  
  6253.     for file in *; uuencode $file $file >$file.uu; done
  6254.  
  6255. The working directory for the shell command is the top level directory
  6256. of the Dired buffer.
  6257.  
  6258. *** Regular Expression File Name Substitution
  6259.  
  6260. **** `% m REGEXP RET' marks all files whose names match the regular
  6261. expression REGEXP.
  6262.  
  6263. Only the non-directory part of the file name is used in matching.  Use
  6264. `^' and `$' to anchor matches.  Exclude subdirs by hiding them.
  6265.  
  6266. **** `% d REGEXP RET' flags for deletion all files whose names match
  6267. the regular expression REGEXP.
  6268.  
  6269. **** `% R', `% C', `% H', `% S'
  6270.  
  6271. These four commands rename, copy, make hard links and make soft links,
  6272. in each case computing the new name by regular expression substitution
  6273. from the name of the old file.  They  effectively perform
  6274. `query-replace-regexp' on the selected file names in the Dired buffer.
  6275.  
  6276. The commands read two arguments: a regular expression, and a
  6277. substitution pattern.  Each selected file name is matched against the
  6278. regular expression, and then the part which matched is replaced with
  6279. the substitution pattern.  You can use `\&' and `\DIGIT' in the
  6280. substitution pattern to refer to all or part of the old file name.
  6281.  
  6282. If the regular expression matches more than once in a file name,
  6283. only the first match is replaced.
  6284.  
  6285. Normally, the replacement process does not consider the directory names;
  6286. it operates on the file name within the directory.  If you specify a
  6287. prefix argument of zero, then replacement affects entire file name.
  6288.  
  6289. To apply the command to all files matching the same regexp that you
  6290. use in the command, mark those files with `% m REGEXP RET', then use
  6291. the same regular expression in `% R'.  To make this easier, `% R' uses
  6292. as a default the last regular expression specified in a `%' command.
  6293.  
  6294. *** Dired Case Conversion
  6295.  
  6296. **** `% u' renames each of the selected files to an upper case name.
  6297.  
  6298. **** `% l' renames each of the selected files to a lower case name.
  6299.  
  6300. *** File Comparison with Dired
  6301.  
  6302. **** `=' compares the current file with another file (the file at the
  6303. mark), by running the `diff' program.  The file at the mark is given
  6304. to `diff' first.
  6305.  
  6306. **** `M-=' compares the current file with its backup file.  If there
  6307. are several numerical backups, it uses the most recent one.  If this
  6308. file is a backup, it is compared with its original.
  6309.  
  6310. The backup file is the first file given to `diff'.
  6311.  
  6312. *** Subdirectories in Dired
  6313.  
  6314. You can display more than one directory in one Dired buffer.
  6315. The simplest way to do this is to specify the options `-lR' for
  6316. running `ls'.  That produces a recursive directory listing showing
  6317. all subdirectories, all within the same Dired buffer.
  6318.  
  6319. You can also insert the contents of a particular subdirectory with the
  6320. `i' command.  Use this command on the line that describes a file which
  6321. is a directory.  Inserted subdirectory contents follow the top-level
  6322. directory of the Dired buffer, just as they do in `ls -lR' output.
  6323.  
  6324. If the subdirectory's contents are already present in the buffer, the
  6325. `i' command just moves to it (type `l' to refresh it).  It sets the
  6326. Emacs mark before moving, so C-x C-x takes you back to the old
  6327. position in the buffer.
  6328.  
  6329. When you have subdirectories in the Dired buffer, you can use the page
  6330. motion commands C-x [ and C-x ] to move by entire directories.
  6331.  
  6332. The following commands move up and down in the tree of directories
  6333. in one Dired buffer:
  6334.  
  6335. **** C-M-u  Go up to the parent directory's headerline.
  6336.  
  6337. **** C-M-d  Go down in the tree, to the first subdirectory's
  6338. headerline.
  6339.  
  6340. **** C-M-n  Go to next subdirectory headerline, regardless of level.
  6341.  
  6342. **** C-M-p  Go to previous subdirectory headerline, regardless of
  6343. level.
  6344.  
  6345. *** Hiding Subdirectories
  6346.  
  6347. "Hiding" a subdirectory means to make it invisible, except for its
  6348. headerline.  Files inside a hidden subdirectory are never considered
  6349. by Dired.  For example, the commands to operate on marked files ignore
  6350. files in hidden directories even if they are marked.
  6351.  
  6352. **** `$' hides or unhides the current subdirectory and move to next
  6353. subdirectory.  A prefix argument serves as a repeat count.
  6354.  
  6355. **** `M-$' hides all subdirectories, leaving only their header lines.
  6356. Or, if at least one subdirectory is currently hidden, it makes
  6357. everything visible again.  You can use this command to get an overview
  6358. in very deep directory trees or to move quickly to subdirectories far
  6359. away.
  6360.  
  6361. *** Editing the Dired Buffer
  6362.  
  6363. **** `l' updates the specified files in a Dired buffer.  This means
  6364. reading their current status from the file system and changing the
  6365. buffer to reflect it properly.
  6366.  
  6367. If you use this command on a subdirectory header line, it updates the
  6368. contents of the subdirectory.
  6369.  
  6370. **** `g' updates the entire contents of the Dired buffer.  It preserves
  6371. all marks except for those on files that have vanished.  Hidden
  6372. subdirectories are updated but remain hidden.
  6373.  
  6374. **** `k' kills all marked lines (not the files).  With a prefix
  6375. argument, it kills that many lines starting with the current line.
  6376.  
  6377. This command does not delete files; it just deletes text from the Dired
  6378. buffer.
  6379.  
  6380. If you kill the line for a file that is a directory, then its contents
  6381. are also deleted from the buffer.  Typing `C-u k' on the header line
  6382. for a subdirectory is another way to delete a subdirectory from the
  6383. Dired buffer.
  6384.  
  6385. *** `find' and Dired.
  6386.  
  6387. To search for files with names matching a wildcard pattern use
  6388. `find-name-dired'.  Its arguments are DIRECTORY and
  6389. PATTERN.  It selects all the files in DIRECTORY or its
  6390. subdirectories whose own names match PATTERN.
  6391.  
  6392. The files thus selected are displayed in a Dired buffer in which the
  6393. ordinary Dired commands are available.
  6394.  
  6395. If you want to test the contents of files, rather than their names, use
  6396. `find-grep-dired'.  This command takes two minibuffer arguments,
  6397. DIRECTORY and REGEXP; it selects all the files in
  6398. DIRECTORY or its subdirectories that contain a match for
  6399. REGEXP.  It works by running `find' and `grep'.
  6400.  
  6401. The most general command in this series is `find-dired', which lets
  6402. you specify any condition that `find' can test.  It takes two
  6403. minibuffer arguments, DIRECTORY and FIND-ARGS; it runs `find' in
  6404. DIRECTORY with using FIND-ARGS as the arguments to `find' specifying
  6405. which files to accept.  To use this command, you need to know how to
  6406. use `find'.
  6407.  
  6408. ** New amusements and novelties.
  6409.  
  6410. *** `M-x mpuz' displays a multiplication puzzle, in which each letter
  6411. stands for a digit, and you must determine which digit.  The puzzles
  6412. are determined randomly, so they are always different.
  6413.  
  6414. *** `M-x gomoku' plays the game Gomoku with you.  It needs more work.
  6415.  
  6416. *** `M-x spook' adds a line of randomly chosen keywords to an outgoing
  6417. mail message.  The keywords are chosen from a list of words that
  6418. suggest you are discussing something subversive.
  6419.  
  6420. The idea is that the NSA reads all messages that contain keywords
  6421. suggesting they might be interested, and that adding these lines could
  6422. help to overload them.  I would guess that they have modified their
  6423. program by now to ignore these lines of keywords; perhaps the program
  6424. can be updated if some clever hacker can determine what criterion they
  6425. actually use now.
  6426.  
  6427. ** Installation changes
  6428.  
  6429. *** The configure script has been provided to help with the
  6430. installation process.  It takes the place of editing the Makefiles and
  6431. src/config.h, and can often guess the appropriate operating system to
  6432. use for a particular machine type.  See INSTALL for a more detailed
  6433. description of the steps required for installation.
  6434.  
  6435. *** If you create a Lisp file named `site-start.el', Emacs loads the file
  6436. whenever it starts up.
  6437.  
  6438. *** A new Lisp variable, `data-directory', indicates the directory
  6439. containing the DOC file, tutorial, copying agreement, and other
  6440. familiar `etc' files.  The value of `data-directory' is a simple string.
  6441. The default should be set at build time, and the person installing
  6442. Emacs should place all the data files in this directory.  The `help.el'
  6443. functions that look for docstrings and information files check this
  6444. variable.  All Emacs Lisp packages should also be coded so that they
  6445. refer to `data-directory' to find data files.
  6446.  
  6447. *** The PURESIZE definition has been moved from config.h to its own
  6448. file, puresize.h.  Since almost every file of C source in the
  6449. distribution depends on config.h, but only alloc.c and data.c depend
  6450. on puresize.h, this means that changing the value of PURESIZE causes
  6451. only those two files to be recompiled.
  6452.  
  6453. *** The makefile at the top of the Emacs source tree now supports a
  6454. `dist' target, which creates a compressed tar file suitable for
  6455. distribution, using the contents of the source tree.  Object files,
  6456. old file versions, executables, DOC files, and other
  6457. architecture-specific or easy-to-recreate files are not included in
  6458. the tar file.
  6459.  
  6460. * For older news, see the file ONEWS.  For Lisp changes in (the first
  6461. * release of) Emacs 19, see the file LNEWS.
  6462.  
  6463. ----------------------------------------------------------------------
  6464. Copyright information:
  6465.  
  6466. Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
  6467.  
  6468.    Permission is granted to anyone to make or distribute verbatim copies
  6469.    of this document as received, in any medium, provided that the
  6470.    copyright notice and this permission notice are preserved,
  6471.    thus giving the recipient permission to redistribute in turn.
  6472.  
  6473.    Permission is granted to distribute modified versions
  6474.    of this document, or of portions of it,
  6475.    under the above conditions, provided also that they
  6476.    carry prominent notices stating who last changed them.
  6477.  
  6478. Local variables:
  6479. mode: outline
  6480. paragraph-separate: "[      ]*$"
  6481. end:
  6482.  
  6483.